Mining Fix Patterns for FindBugs Violations
Not on the map. Why?
Abstract (arXiv)
In this paper, we first collect and track a large number of fixed and unfixed violations across revisions of software. The empirical analyses reveal that there are discrepancies in the distributions of violations that are detected and those that are fixed, in terms of occurrences, spread and categories, which can provide insights into prioritizing violations. To automatically identify patterns in violations and their fixes, we propose an approach that utilizes convolutional neural networks to learn features and clustering to regroup similar instances. We then evaluate the usefulness of the identified fix patterns by applying them to unfixed violations. The results show that developers will accept and merge a majority (69/116) of fixes generated from the inferred fix patterns. It is also noteworthy that the yielded patterns are applicable to four real bugs in the Defects4J major benchmark for software testing and automated repair.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). First posted on arXiv 8 Dec 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 1; 2023: 1; 2024: 4; 2025: 2.
9 papers.
- 2022VUDENC: Vulnerability Detection with Deep Learning on a Natural Codebase for Pythoncited by 17
- 2024Automated Program Repair: Emerging trends pose and expose problems for benchmarkscited by 7
- 2023Frustrated with Code Quality Issues? LLMs can Help!cited by 5
- 2025PredicateFix: Repairing Static Analysis Alerts with Bridging Predicatescited by 5
- 2021Predicting Patch Correctness Based on the Similarity of Failing Test Casescited by 4
- 2024The Role of Transformer Models in Advancing Blockchain Technology: A Systematic Surveycited by 3
- 2025The Impact of Fine-tuning Large Language Models on Automated Program Repaircited by 3
- 2024Machine Learning Techniques for Python Source Code Vulnerability Detectioncited by 0
- 2024NARRepair: Non-Autoregressive Code Generation Model for Automatic Program Repaircited by 0
- 2025The Impact of Fine-tuning Large Language Models on Automated Program Repair26 Jul 2025
- 2025PredicateFix: Repairing Static Analysis Alerts with Bridging Predicates15 Mar 2025
- 2024The Role of Transformer Models in Advancing Blockchain Technology: A Systematic Survey2 Sep 2024
- 2024NARRepair: Non-Autoregressive Code Generation Model for Automatic Program Repair24 Jun 2024
- 2024Automated Program Repair: Emerging trends pose and expose problems for benchmarks8 May 2024
- 2024Machine Learning Techniques for Python Source Code Vulnerability Detection15 Apr 2024
- 2023Frustrated with Code Quality Issues? LLMs can Help!22 Sep 2023
- 2022VUDENC: Vulnerability Detection with Deep Learning on a Natural Codebase for Python20 Jan 2022
- 2021Predicting Patch Correctness Based on the Similarity of Failing Test Cases28 Jul 2021