pith. machine review for the scientific record. sign in

arxiv: 1807.11286 · v1 · submitted 2018-07-30 · 💻 cs.SE

Recognition: unknown

Towards an automated approach for bug fix pattern detection

Authors on Pith no claims yet
classification 💻 cs.SE
keywords patternsrepairanalysisautomateddatasetsdefects4jdetectionevaluation
0
0 comments X
read the original abstract

The characterization of bug datasets is essential to support the evaluation of automatic program repair tools. In a previous work, we manually studied almost 400 human-written patches (bug fixes) from the Defects4J dataset and annotated them with properties, such as repair patterns. However, manually finding these patterns in different datasets is tedious and time-consuming. To address this activity, we designed and implemented PPD, a detector of repair patterns in patches, which performs source code change analysis at abstract-syntax tree level. In this paper, we report on PPD and its evaluation on Defects4J, where we compare the results from the automated detection with the results from the previous manual analysis. We found that PPD has overall precision of 91% and overall recall of 92%, and we conclude that PPD has the potential to detect as many repair patterns as human manual analysis.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. On the Effectiveness of Code Representation in Deep Learning-Based Automated Patch Correctness Assessment

    cs.SE 2026-03 unverdicted novelty 7.0

    Graph-based code representations such as Code Property Graphs achieve the highest accuracy (average 82.6%) in predicting patch correctness across 15 benchmarks and outperform sequence and tree representations when use...