Makale detayı · 2019
AVATAR: Fixing Semantic Bugs with Fix Patterns of Static Analysis Violations
- Yıl
- 2019
- Tür
- conference-paper
Özet
OpenAlex · İngilizce
Fix pattern-based patch generation is a promising direction in Automated Program Repair (APR). Notably, it has been demonstrated to produce more acceptable and correct patches than the patches obtained with mutation operators through genetic programming. The performance of pattern-based APR systems, however, depends on the fix ingredients mined from fix changes in development histories. Unfortunately, collecting a reliable set of bug fixes in repositories can be challenging. In this paper, we propose to investigate the possibility in an APR scenario of leveraging code changes that address violations by static bug detection tools. To that end, we build the AVATAR APR system, which exploits fix patterns of static analysis violations as ingredients for patch generation. Evaluated on the Defects4J benchmark, we show that, assuming a perfect localization of faults, AVATAR can generate correct patches to fix 34/39 bugs. We further find that AVATAR yields performance metrics that are comparable to that of the closely-related approaches in the literature. While AVATAR outperforms many of the state-of-the-art pattern-based APR systems, it is mostly complementary to current approaches. Overall, our study highlights the relevance of static bug finding tools as indirect contributors of fix ingredients for addressing code defects identified with functional test cases.
Konular
Atıflar
OpenAlex cited_by_count. WoS veya Scopus atıf sayısı değildir; o kaynaklar için ayrı kolon yoktur.
179 atıf
OpenAlex cited_by_count (önbellek / veritabanı)
Yerel katalogda bu makaleye atıf yapan 20 yayın (OpenAlex referans eşleşmesi; tam dünya listesi değildir).
- FixMiner: Mining relevant fix patterns for automated program repair 2020
- FixMiner: Mining relevant fix patterns for automated program repair 2020
- You Cannot Fix What You Cannot Find! An Investigation of Fault Localization Bias in Benchmarking Automated Program Repair Systems 2019
- On the efficiency of test suite based program repair 2020
- Evaluating representation learning of code changes for predicting patch correctness in program repair 2020
- A critical review on the evaluation of automated program repair systems 2021
- TBar: Revisiting Template-based Automated Program Repair 2019
- iFixR: bug report driven program repair 2019
- The Best of Both Worlds: Combining Learned Embeddings with Engineered Features for Accurate Prediction of Correct Patches 2022
- Where were the repair ingredients for Defects4j bugs? 2021