SEMay 15, 2021

When Automated Program Repair Meets Regression Testing -- An Extensive Study on 2 Million Patches

arXiv:2105.07311v27 citations
Originality Synthesis-oriented
AI Analysis

This work addresses efficiency issues in software engineering for developers and researchers, but it is incremental as it applies existing RTS methods to APR without introducing new paradigms.

The paper tackles the time-consuming nature of Automated Program Repair (APR) by studying the integration of Regression Test Selection (RTS) techniques, revealing practical guidelines through an extensive analysis of over 2 million patches across 12 state-of-the-art APR systems.

In recent years, Automated Program Repair (APR) has been extensively studied in academia and even drawn wide attention from industry. However, APR techniques can be extremely time consuming since (1) a large number of patches can be generated for a given bug, and (2) each patch needs to be executed on the original tests to ensure its correctness. In the literature, various techniques (e.g., based on learning, mining, and constraint solving) have been proposed/studied to reduce the number of patches. Intuitively, every patch can be treated as a software revision during regression testing; thus, traditional Regression Test Selection (RTS) techniques can be leveraged to only execute the tests affected by each patch (as the other tests would keep the same outcomes) to further reduce patch execution time. However, few APR systems actually adopt RTS and there is still a lack of systematic studies demonstrating the benefits of RTS and the impact of different RTS strategies on APR. To this end, this paper presents the first extensive study of widely-used RTS techniques at different levels (i.e., class/method/statement levels) for 12 state-of-the-art APR systems on over 2M patches. Our study reveals various practical guidelines for bridging the gap between APR and regression testing.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes