FixMiner: Mining relevant fix patterns for automated program repair
Open accessThe DOI matches its Crossref record; 79 of the 79 references it cites were found in a registry or an index.
Abstract
Patching is a common activity in software development. It is generally performed on a source code base to address bugs or add new functionalities. In this context, given the recurrence of bugs across projects, the associated similar patches can be leveraged to extract generic fix actions. While the literature includes various approaches leveraging similarity among patches to guide program repair, these approaches often do not yield fix patterns that are tractable and reusable as actionable input to APR systems. In this paper, we propose a systematic and automated approach to mining relevant and actionable fix patterns based on an iterative clustering strategy applied to atomic changes within patches. The goal of FixMiner is thus to infer separate and reusable fix patterns that can be leveraged in other patch generation systems. Our technique, FixMiner, leverages Rich Edit Script which is a specialized tree structure of the edit scripts that captures the AST-level context of the code changes. FixMiner uses different tree representations of Rich Edit Scripts for each round of clustering to identify similar changes. These are abstract syntax trees, edit actions trees, and code context trees. We have evaluated FixMiner on thousands of software patches collected from open source projects. Preliminary results show that we are able to mine accurate patterns, efficiently exploiting change information in Rich Edit Scripts. We further integrated the mined patterns to an automated program repair prototype, PARFixMiner, with which we are able to correctly fix 26 bugs of the Defects4J benchmark. Beyond this quantitative performance, we show that the mined fix patterns are sufficiently relevant to produce patches with a high probability of correctness: 81% of PARFixMiner’s generated plausible patches are correct.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Defects4J: a database of existing faults to enable controlled testing studies for Java programs
Just, R., Jalali, D., & Ernst, M. D. (2014) · Proceedings of the 2014 International Symposium on Software Testing and Analysis · doi:10.1145/2610384.2628055 · Cited by 1,447
Advances in Record-Linkage Methodology as Applied to Matching the 1985 Census of Tampa, Florida
Jaro, M. A. (1989) · Journal of the American Statistical Association · doi:10.1080/01621459.1989.10478785 · Cited by 1,401 · cited 2×
“For the third iteration (i.e., Token), since the relevant information in the tree is text, we use a text distance algorithm (Jaro-Winkler (Jaro 1989; Winkler 1990)) to compute the edit distance between two tokens extracted from the trees.”
MethodGenProg: A Generic Method for Automatic Software Repair
Le Goues, C., Nguyen, T., Forrest, S., & Weimer, W. (2012) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2011.104 · Cited by 1,085 · cited 1×
“is task is automated, the cost and time of developers for maintenance will be dramatically reduced. To address the issue, many automated techniques have been proposed for program repair [46]. GenProg [33], which leverages genetic programming, is a pioneering work on program repair. It relies on mutation operators that…”
BackgroundAnO(ND) difference algorithm and its variations
Myers, E. W. (1986) · Algorithmica · doi:10.1007/bf01840446 · Cited by 893 · cited 1×
“Although commonly used by human developers in manual tasks, differencing at the text line level granularity [69] is generally unsuitable for automated analysis of changes and the associated semantics.”
BackgroundAutomatically finding patches using genetic programming
Weimer, W., Nguyen, T., Le Goues, C., & Forrest, S. (2009) · 2009 IEEE 31st International Conference on Software Engineering · doi:10.1109/icse.2009.5070536 · Cited by 761
IEEE Transactions on Software Engineering
(1978) · IEEE Transactions on Computers · doi:10.1109/tc.1978.1675097 · Cited by 761
A survey on tree edit distance and related problems
Bille, P. (2005) · Theoretical Computer Science · doi:10.1016/j.tcs.2004.12.030 · Cited by 751 · cited 3×
“s of changes and the associated semantics. AST dierencing work has beneted in the last decade for the extensive investigations that the research community has performed for general tree dierencing [2,6,10,12]. ChangeDistiller [18] and GumTree [15] constitute the current state-of-the-art for AST dierencing in Java. In…”
BackgroundMethodOn the Accuracy of Spectrum-based Fault Localization
Abreu, R., Zoeteweij, P., & van Gemund, A. J. C. (2007) · Testing: Academic and Industrial Conference Practice and Research Techniques - MUTATION (TAICPART-MUTATION 2007) · doi:10.1109/taic.part.2007.13 · Cited by 736 · cited 2×
“We use the GZoltar7 (Campos et al. 2012) dynamic testing framework and leverage Ochiai (Abreu et al. 2007) ranking metric to predict buggy statements based on execution coverage information of passing and failing test cases.”
MethodChange Distilling:Tree Differencing for Fine-Grained Source Code Change Extraction
Fluri, B., Wursch, M., PInzger, M., & Gall, H. (2007) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2007.70731 · Cited by 607 · cited 5×
“To accurately reflect the change that has been performed, several algorithms have been proposed based on tree structures (such as the AST) (Bille 2005; Pawlik and Augsten 2011; Chawathe et al. 1996; Hashimoto and Mori 2008; Duley et al. 2012; Fluri et al. 2007; Falleri et al. 2014).”
BackgroundMethodInfluentialPredicting source code changes by mining change history
Ying, A. T. T., Murphy, G. C., Ng, R., & Chu-Carroll, M. C. (2004) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2004.52 · Cited by 571 · cited 2×
“They are notably used for labeling changes (Pan et al. 2009), triaging developer commits (Tian et al. 2012) or predicting changes (Ying et al. 2004).”
BackgroundFine-grained and accurate source code differencing
Falleri, J.-R., Morandat, F., Blanc, X., Martinez, M., & Monperrus, M. (2014) · Proceedings of the 29th ACM/IEEE International Conference on Automated Software Engineering · doi:10.1145/2642937.2642982 · Cited by 549
Self-citationChange detection in hierarchically structured information
Chawathe, S. S., Rajaraman, A., Garcia-Molina, H., & Widom, J. (1996) · Proceedings of the 1996 ACM SIGMOD international conference on Management of data - SIGMOD '96 · doi:10.1145/233269.233366 · Cited by 484 · cited 3×
“To accurately reflect the change that has been performed, several algorithms have been proposed based on tree structures (such as the AST) [6, 9, 14, 17, 21, 24, 79].”
BackgroundMethodAutomatic patch generation by learning correct code
Long, F., & Rinard, M. (2016) · Proceedings of the 43rd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages · doi:10.1145/2837614.2837617 · Cited by 481
Automatic patch generation learned from human-written patches
Kim, D., Nam, J., Song, J., & Kim, S. (2013) · 2013 35th International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2013.6606626 · Cited by 449
Self-citationNopol: Automatic Repair of Conditional Statement Bugs in Java Programs
Xuan, J., Martinez, M., DeMarco, F., Clement, M., Marcote, S. L., Durieux, T., Le Berre, D., & Monperrus, M. (2017) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2016.2560811 · Cited by 430 · cited 2×
“…Coker and Hafiz 2013; Ke et al. 2015; Mechtaev et al. 2015; Long and Rinard 2015, 2016; Le et al. 2016a b, 2017; Chen et al. 2017; Long et al. 2017; Xuan et al. 2017; Xiong et al. 2017; Jiang et al. 2018; Wen et al. 2018; Hua et al. 2018; Liu et al. 2019, b) have been proposed, aiming at reducing…”
BackgroundSelf-citationDeepFix: Fixing Common C Language Errors by Deep Learning
Gupta, R., Pal, S., Kanade, A., & Shevade, S. (2017) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v31i1.10742 · Cited by 426 · cited 2×
“Recently, several approaches [5, 22] leveraging deep learning have been proposed for learning to fix bugs.”
BackgroundHovemeyer, D., & Pugh, W. (2004) · ACM SIGPLAN Notices · doi:10.1145/1052883.1052895 · Cited by 397 · cited 3×
“– 6 patterns are compatible with the fix patterns used in AVATAR [51], which are presented in a study for inferring fix patterns from FindBugs [26] static analysis violations [48].”
MethodSemFix: Program repair via semantic analysis
Nguyen, H. D. T., Qi, D., Roychoudhury, A., & Chandra, S. (2013) · 2013 35th International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2013.6606623 · Cited by 395 · cited 4×
“Such patches are called tangled patches (Herzig and Zeller 2013) or mixed-purpose fixing commits (Nguyen et al. 2013).”
BackgroundMethodInfluentialStaged program repair with condition synthesis
Long, F., & Rinard, M. (2015) · Proceedings of the 2015 10th Joint Meeting on Foundations of Software Engineering · doi:10.1145/2786805.2786811 · Cited by 348 · cited 1×
“Automated Program Repair (APR) has indeed gained incredible momentum, and various approaches [10,12,27,30,32,33,41–44,50,51,56–58,64,72,88,90,94,95] have been proposed, aiming at reducing manual debugging efforts through automatically generating patches.”
MethodLe, X. B. D., Lo, D., & Le Goues, C. (2016) · 2016 IEEE 23rd International Conference on Software Analysis, Evolution, and Reengineering (SANER) · doi:10.1109/saner.2016.76 · Cited by 332 · cited 9×
“Automated Program Repair (APR) has indeed gained incredible momentum, and various approaches [10,12,27,30,32,33,41–44,50,51,56–58,64,72,88,90,94,95] have been proposed, aiming at reducing manual debugging efforts through automatically generating patches.”
MethodInfluentialDynaMine: finding common error patterns by mining software revision histories
Livshits, B., & Zimmermann, T. (2005) · Proceedings of the 10th European software engineering conference held jointly with 13th ACM SIGSOFT international symposium on Foundations of software engineering · doi:10.1145/1081706.1081754 · Cited by 330 · cited 2×
“An example application is related to work by Livshits and Zimmermann (2005) who discovered application-specific repair templates by using association rule mining on two Java projects.”
MethodShaping program repair space with existing patches and similar code
Jiang, J., Xiong, Y., Zhang, H., Gao, Q., & Chen, X. (2018) · Proceedings of the 27th ACM SIGSOFT International Symposium on Software Testing and Analysis · doi:10.1145/3213846.3213871 · Cited by 329
Context-aware patch generation for better automated program repair
Wen, M., Chen, J., Wu, R., Hao, D., & Cheung, S.-C. (2018) · Proceedings of the 40th International Conference on Software Engineering · doi:10.1145/3180155.3180233 · Cited by 328 · cited 6×
“To date only CapGen [90] achieves similar performance at yielding patches with slighter higher probability (at 84”
BackgroundMethodInfluentialAutomatic Software Repair: A Bibliography
Monperrus, M. (2019) · ACM Computing Surveys · doi:10.1145/3105906 · Cited by 321 · cited 1×
“tedious. If this task is automated, the cost and time of developers for maintenance will be dramatically reduced. To address the issue, many automated techniques have been proposed for program repair [46]. GenProg [33], which leverages genetic programming, is a pioneering work on program repair. It relies on mutation…”
BackgroundSelf-citationTBar: revisiting template-based automated program repair
Liu, K., Koyuncu, A., Kim, D., & Bissyandé, T. F. (2019) · Proceedings of the 28th ACM SIGSOFT International Symposium on Software Testing and Analysis · doi:10.1145/3293882.3330577 · Cited by 321 · cited 2×
“Once the spectrum-based fault localization (or ir-based fault localization (Koyuncu et al. 2019; Wen et al. 2016)) process yields a list of suspicious code locations, PARFixMiner attempts to select fix patterns for each statement in the list.”
BackgroundSelf-citationPrecise Condition Synthesis for Program Repair
Xiong, Y., Wang, J., Yan, R., Zhang, J., Han, S., Huang, G., & Zhang, L. (2017) · 2017 IEEE/ACM 39th International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2017.45 · Cited by 299 · cited 5×
“Automated Program Repair (APR) has indeed gained incredible momentum, and various approaches [10,12,27,30,32,33,41–44,50,51,56–58,64,72,88,90,94,95] have been proposed, aiming at reducing manual debugging efforts through automatically generating patches.”
BackgroundMethodInfluentialThe impact of tangled code changes
Herzig, K., & Zeller, A. (2013) · 2013 10th Working Conference on Mining Software Repositories (MSR) · doi:10.1109/msr.2013.6624018 · Cited by 270 · cited 4×
“Such patches are called tangled patches (Herzig and Zeller 2013) or mixed-purpose fixing commits (Nguyen et al. 2013).”
BackgroundInfluentialDirectFix: Looking for Simple Program Repairs
Mechtaev, S., Yi, J., & Roychoudhury, A. (2015) · 2015 IEEE/ACM 37th IEEE International Conference on Software Engineering · doi:10.1109/icse.2015.63 · Cited by 250 · cited 2×
“…and various approaches (Nguyen et al. 2013; Weimer et al. 2009; Le Goues et al. 2012a; Kim et al. 2013; Coker and Hafiz 2013; Ke et al. 2015; Mechtaev et al. 2015; Long and Rinard 2015, 2016; Le et al. 2016a b, 2017; Chen et al. 2017; Long et al. 2017; Xuan et al. 2017; Xiong et al. 2017;…”
MethodAutomatic repair of real bugs in java: a large-scale experiment on the defects4j dataset
Martinez, M., Durieux, T., Sommerard, R., Xuan, J., & Monperrus, M. (2017) · Empirical Software Engineering · doi:10.1007/s10664-016-9470-4 · Cited by 249 · cited 3×
“We use Defects4J [31] dataset which is widely used as a benchmark for Java-targeted APR research [10,43,60,62].”
MethodSelf-citationToward an understanding of bug fix patterns
Pan, K., Kim, S., & Whitehead, E. J. (2009) · Empirical Software Engineering · doi:10.1007/s10664-008-9077-5 · Cited by 246 · cited 8×
“have contributed with a manually-compiled catalog of 27 code change patterns related to bug fixing [77].”
BackgroundResultInfluentialASTOR: a program repair library for Java (demo)
Martinez, M., & Monperrus, M. (2016) · Proceedings of the 25th International Symposium on Software Testing and Analysis · doi:10.1145/2931037.2948705 · Cited by 235
Self-citationRTED: a robust algorithm for the tree edit distance
Pawlik, M., & Augsten, N. (2011) · Proceedings of the VLDB Endowment · doi:10.14778/2095686.2095692 · Cited by 222
GZoltar: an eclipse plug-in for testing and debugging
Campos, J., Riboira, A., Perez, A., & Abreu, R. (2012) · Proceedings of the 27th IEEE/ACM International Conference on Automated Software Engineering · doi:10.1145/2351676.2351752 · Cited by 208 · cited 1×
“We use the GZoltar(7) [8] dynamic testing framework and leverage Ochiai [1] ranking”
MethodLase: Locating and applying systematic edits by learning from examples
Meng, N., Kim, M., & McKinley, K. S. (2013) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2013.6606596 · Cited by 205 · cited 2×
“were passed for 55 out of 105 real program bugs) automatically, although most of them have been found to be incorrect patches later. PACHIKA [13] leverages object behavior models. SYDIT [43] and LASE [44] automatically extracts an edit script from a program change. While several techniques have focused on xability, Ki…”
MethodLiu, K., Koyuncu, A., Bissyandé, T. F., Kim, D., Klein, J., & Traon, Y. L. (2019) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst.2019.00020 · Cited by 195
Self-citationUnderstanding source code evolution using abstract syntax tree matching
Neamtiu, I., Foster, J. S., & Hicks, M. (2005) · ACM SIGSOFT Software Engineering Notes · doi:10.1145/1082983.1083143 · Cited by 195
Repairing Programs with Semantic Code Search (T)
Ke, Y., Stolee, K. T., Goues, C. L., & Brun, Y. (2015) · 2015 30th IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2015.60 · Cited by 192 · cited 2×
“Automated Program Repair (APR) has indeed gained incredible momentum, and various approaches [10,12,27,30,32,33,41–44,50,51,56–58,64,72,88,90,94,95] have been proposed, aiming at reducing manual debugging efforts through automatically generating patches.”
BackgroundMethodIdentifying Refactorings from Source-Code Changes
Weissgerber, P., & Diehl, S. (2006) · 21st IEEE/ACM International Conference on Automated Software Engineering (ASE'06) · doi:10.1109/ase.2006.41 · Cited by 191 · cited 1×
“roposed a method to infer \change-rules" that capture many changes. They generally express changes related to program headers (method headers, class names, package names, etc.). Weigerber et al. [63] have also proposed a technique to identify likely refactorings in the changes that have been performed in Java pro…”
MethodElixir: Effective object-oriented program repair
Saha, R. K., Lyu, Y., Yoshida, H., & Prasad, M. R. (2017) · 2017 32nd IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2017.8115675 · Cited by 189 · cited 6×
“– between 1 and 8 patterns are compatible with researcher-predefined fix patterns used in ssFix (Xin and Reiss 2017), ELIXIR (Saha et al. 2017), S3 (Le et al. 2017), NEPfix (Durieux et al. 2017), and SketchFix (Hua et al. 2018), respectively.”
BackgroundMethodInfluentialDocumenting and automating collateral evolutions in linux device drivers
Padioleau, Y., Lawall, J., Hansen, R. R., & Muller, G. (2008) · Proceedings of the 3rd ACM SIGOPS/EuroSys European Conference on Computer Systems 2008 · doi:10.1145/1352592.1352618 · Cited by 187 · cited 2×
“This is in line with studies of collateral evolutions in Linux, which highlight large patches making repetitive changes in several locations at once [76] (i.”
BackgroundResultDiscovering and representing systematic code changes
Kim, M., & Notkin, D. (2009) · 2009 IEEE 31st International Conference on Software Engineering · doi:10.1109/icse.2009.5070531 · Cited by 183 · cited 2×
“A number of empirical studies have confirmed that code changes are repeatedly performed in software code bases [34, 36, 67, 97].”
BackgroundDissection of a bug dataset: Anatomy of 395 patches from Defects4J
Sobreira, V., Durieux, T., Madeiral, F., Monperrus, M., & Maia, M. D. A. (2018) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner.2018.8330203 · Cited by 180 · cited 7×
“Such patterns can indeed be matched to dissection studies performed in the literature (Sobreira et al. 2018).”
BackgroundMethodInfluentialSelf-citationAutomatic inference of code transforms for patch generation
Long, F., Amidon, P., & Rinard, M. (2017) · Proceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering · doi:10.1145/3106237.3106253 · Cited by 175 · cited 4×
“With Genesis [56], Long et al. proposed to automatically infer code transforms for patch generation.”
BackgroundMethodInfluentialLocus: locating bugs from software changes
Wen, M., Wu, R., & Cheung, S.-C. (2016) · Proceedings of the 31st IEEE/ACM International Conference on Automated Software Engineering · doi:10.1145/2970276.2970359 · Cited by 172 · cited 1×
“Once the spectrum-based fault localization (or ir-based fault localization [38,91]) process yields a list of suspicious code locations, PAR FixMiner attempts to select fix patterns for each statement in the list.”
BackgroundAVATAR: Fixing Semantic Bugs with Fix Patterns of Static Analysis Violations
Liu, K., Koyuncu, A., Kim, D., & Bissyande, T. F. (2019) · 2019 IEEE 26th International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner.2019.8667970 · Cited by 171
Self-citationTowards practical program repair with on-demand candidate generation
Hua, J., Zhang, M., Wang, K., & Khurshid, S. (2018) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3180155.3180245 · Cited by 162
Automatic Inference of Structural Changes for Matching across Program Versions
Kim, M., Notkin, D. S., & Grossman, D. (2007) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2007.20 · Cited by 162 · cited 2×
“[35] have later proposed a method to infer “change-rules” that capture many changes.”
MethodLeveraging syntax-related code for automated program repair
Xin, Q., & Reiss, S. P. (2017) · 2017 32nd IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2017.8115676 · Cited by 156 · cited 5×
“– between 1 and 8 patterns are compatible with researcher-predefined fix patterns used in ssFix (Xin and Reiss 2017), ELIXIR (Saha et al. 2017), S3 (Le et al. 2017), NEPfix (Durieux et al. 2017), and SketchFix (Hua et al. 2018), respectively.”
BackgroundMethodInfluentialIdentifying Linux bug fixing patches
Tian, Y., Lawall, J., & Lo, D. (2012) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2012.6227176 · Cited by 155 · cited 2×
“They are notably used for labeling changes (Pan et al. 2009), triaging developer commits (Tian et al. 2012) or predicting changes (Ying et al. 2004).”
BackgroundKim, S., Pan, K., & Whitehead, E. E. J. (2006) · Proceedings of the 14th ACM SIGSOFT international symposium on Foundations of software engineering · doi:10.1145/1181775.1181781 · Cited by 153
Ultra-Large Repair Search Space with Automatically Mined Templates: The Cardumen Mode of Astor
Martínez, M., & Monperrus, M. (2018) · Lecture notes in computer science · doi:10.1007/978-3-319-99241-9_3 · Cited by 129 · cited 2×
“Several APR systems (Kim et al. 2013; Saha et al. 2017; Durieux et al. 2017; Liu and Zhong 2018; Hua et al. 2018; Martinez and Monperrus 2018; Liu et al. 2019, b) in the literature implement this strategy by using diverse sets of fix patterns obtained either via manual generation or automatic…”
BackgroundSelf-citationMining stackoverflow for program repair
Liu, X., & Zhong, H. (2018) · 2018 IEEE 25th International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner.2018.8330202 · Cited by 127 · cited 12×
“SOFix then mines a repair pattern from each category.”
BackgroundMethodInfluentialMining software repair models for reasoning on the search space of automated program fixing
Martinez, M., & Monperrus, M. (2015) · Empirical Software Engineering · doi:10.1007/s10664-013-9282-8 · Cited by 125 · cited 4×
“Martinez and Monperrus (2015) assessed the relationship between the types of bug fixes and automatic program repair.”
BackgroundMethodInfluentialSelf-citationGenerating Fixes from Object Behavior Anomalies
Dallmeier, V., Zeller, A., & Meyer, B. (2009) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2009.15 · Cited by 123 · cited 2×
“PACHIKA (Dallmeier et al. 2009) leverages object behavior models.”
Recurring bug fixes in object-oriented programs
Nguyen, T. T., Nguyen, H. A., Pham, N. H., Al-Kofahi, J., & Nguyen, T. N. (2010) · Proceedings of the 32nd ACM/IEEE International Conference on Software Engineering - Volume 1 · doi:10.1145/1806799.1806847 · Cited by 121 · cited 1×
“[73] have empirically found that 17-45% of bug fixes are recurring.”
BackgroundDiscovering bug patterns in JavaScript
Hanam, Q., Brito, F. S. D. M., & Mesbah, A. (2016) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/2950290.2950308 · Cited by 119
Systematic editing: generating program transformations from an example
Meng, N., Kim, M., & McKinley, K. S. (2011) · ACM SIGPLAN Notices · doi:10.1145/1993316.1993537 · Cited by 119
Syntax tree fingerprinting for source code similarity detection
Chilowicz, M., Duris, É., & Roussel, G. (2009) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc.2009.5090050 · Cited by 117 · cited 1×
“AST differencing work has benefited in the last decade for the extensive investigations that the research community has performed for general tree differencing [2,6,9,11].”
BackgroundContract-based program repair without the contracts
Chen, L., Pei, Y., & Furia, C. A. (2017) · 2017 32nd IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2017.8115674 · Cited by 117 · cited 5×
“Automated Program Repair (APR) has indeed gained incredible momentum, and various approaches [10,12,27,30,32,33,41–44,50,51,56–58,64,72,88,90,94,95] have been proposed, aiming at reducing manual debugging efforts through automatically generating patches.”
MethodInfluentialBench4BL: reproducibility study on the performance of IR-based bug localization
Lee, J., Kim, D., Bissyandé, T. F., Jung, W.-S., & Traon, Y. L. (2018) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3213846.3213856 · Cited by 112
Self-citationDynamic patch generation for null pointer exceptions using metaprogramming
Durieux, T., Cornu, B., Seinturier, L., & Monperrus, M. (2017) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner.2017.7884635 · Cited by 104 · cited 4×
“Several APR systems (Kim et al. 2013; Saha et al. 2017; Durieux et al. 2017; Liu and Zhong 2018; Hua et al. 2018; Martinez and Monperrus 2018; Liu et al. 2019, b) in the literature implement this strategy by using diverse sets of fix patterns obtained either via manual generation or automatic…”
BackgroundInfluentialSelf-citationPartitioning Composite Code Changes to Facilitate Code Review
Tao, Y., & Kim, S. (2015) · International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr.2015.24 · Cited by 103 · cited 1×
“Similarly, for Relifix (Tan and Roychoudhury 2015), a manual inspection of 73 real software regression bug fixes is performed to infer fix patterns.”
MethodiFixR: bug report driven program repair
Koyuncu, A., Liu, K., Bissyandé, T. F., Kim, D., Monperrus, M., Klein, J., & Le Traon, Y. (2019) · Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3338906.3338935 · Cited by 87 · cited 1×
“iFixR [39] is such an example which builds on top of the templates built TBar [52] templates.”
BackgroundSelf-citationClDiff: generating concise linked code differences
Huang, K., Chen, B., Peng, X., Zhou, D., Wang, Y., Liu, Y., & Zhao, W. (2018) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3238147.3238219 · Cited by 80 · cited 1×
“[28]: their CLDIFF tool similarly enriches the AST produced by GumTree to enable the generation of concise code differences.”
MethodProgram transformations to fix C integers
Coker, Z., & Hafiz, M. (2013) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2013.6606625 · Cited by 77 · cited 2×
“…(APR) has indeed gained incredible momentum, and various approaches (Nguyen et al. 2013; Weimer et al. 2009; Le Goues et al. 2012a; Kim et al. 2013; Coker and Hafiz 2013; Ke et al. 2015; Mechtaev et al. 2015; Long and Rinard 2015, 2016; Le et al. 2016a b, 2017; Chen et al. 2017; Long et al. 2017;…”
BackgroundMethodrelifix: Automated Repair of Software Regressions
Tan, S. H., & Roychoudhury, A. (2015) · 2015 IEEE/ACM 37th IEEE International Conference on Software Engineering · doi:10.1109/icse.2015.65 · Cited by 69 · cited 2×
“Similarly, for Relifix (Tan and Roychoudhury 2015), a manual inspection of 73 real software regression bug fixes is performed to infer fix patterns.”
MethodLSRepair: Live Search of Fix Ingredients for Automated Program Repair
Liu, K., Koyuncu, A., Kim, K., Kim, D., & F. Bissyande, T. (2018) · 2018 25th Asia-Pacific Software Engineering Conference (APSEC) · doi:10.1109/apsec.2018.00085 · Cited by 67 · cited 6×
“– 6 patterns are compatible with the fix patterns used in AVATAR (Liu et al. 2019), which are presented in a study for inferring fix patterns from FindBugs(Hovemeyer and Pugh 2004) static analysis violations (Liu et al. 2018a).”
BackgroundMethodInfluentialSelf-citationA Closer Look at Real-World Patches
Liu, K., Kim, D., Koyuncu, A., Li, L., Bissyandé, T. F., & Traon, Y. L. (2018) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme.2018.00037 · Cited by 57 · cited 6×
“– 6 patterns are compatible with the fix patterns used in AVATAR (Liu et al. 2019), which are presented in a study for inferring fix patterns from FindBugs(Hovemeyer and Pugh 2004) static analysis violations (Liu et al. 2018a).”
BackgroundMethodInfluentialSelf-citationAutomatic clustering of code changes
Kreutzer, P., Dotzler, G., Ring, M., Eskofier, B. M., & Philippsen, M. (2016) · International Conference on Mining Software Repositories (MSR) · doi:10.1145/2901739.2901749 · Cited by 51 · cited 1×
“Kreutzer et al. have developed C3 to automatically detect groups of similar code changes in code repositories with the help of clustering algorithms [40].”
BackgroundEnhancing Automated Program Repair with Deductive Verification
Le, X.-B. D., Le, Q. L., Lo, D., & Goues, C. L. (2016) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme.2016.66 · Cited by 49 · cited 6×
“Automated Program Repair (APR) has indeed gained incredible momentum, and various approaches [10,12,27,30,32,33,41–44,50,51,56–58,64,72,88,90,94,95] have been proposed, aiming at reducing manual debugging efforts through automatically generating patches.”
MethodInfluentialAutomatic Repair of Real Bugs: An Experience Report on the Defects4J Dataset
Martinez, M., Durieux, T., Xuan, J., Sommerard, R., & Monperrus, M. (2015) · arXiv · doi:10.48550/arxiv.1505.07002 · Cited by 47
Self-citationAndersen, J., Nguyen, A. C., Lo, D., Lawall, J., & Khoo, S. (2012) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/2351676.2351753 · Cited by 43 · cited 1×
“This problem has been recently studied by approaches such as spdiff [3,4] which work on the inference of generic and semantic patches.”
MethodMining frequent bug-fix code changes
Osman, H., Lungu, M. F., & Nierstrasz, O. (2014) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/csmr-wcre.2014.6747191 · Cited by 40 · cited 2×
“More recently, thanks to the availability of new AST differencing tools, researchers have proposed to automatically mine change patterns [47, 59, 74, 75].”
BackgroundFiltering noise in mixed-purpose fixing commits to improve defect prediction and localization
Nguyen, H. A., Nguyen, A. T., & Nguyen, T. N. (2013) · Proceedings/Proceedings - International Symposium on Software Reliability Engineering · doi:10.1109/issre.2013.6698913 · Cited by 38 · cited 5×
“Automated Program Repair (APR) has indeed gained incredible momentum, and various approaches (Nguyen et al. 2013; Weimer et al. 2009; Le Goues et al. 2012a; Kim et al. 2013; Coker and Hafiz 2013; Ke et al. 2015; Mechtaev et al. 2015; Long and Rinard 2015, 2016; Le et al. 2016a b, 2017; Chen et al.…”
BackgroundInfluentialMining Change Histories for Unknown Systematic Edits
Molderez, T., Stevens, R., & Roover, C. D. (2017) · International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr.2017.12 · Cited by 33 · cited 2×
“A number of empirical studies have confirmed that code changes are repeatedly performed in software code bases [34, 36, 67, 97].”
BackgroundA Characterization Study of Repeated Bug Fixes
Yue, R., Meng, N., & Wang, Q. (2017) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme.2017.16 · Cited by 32 · cited 2×
“A number of empirical studies have confirmed that code changes are repeatedly performed in software code bases [34, 36, 67, 97].”
BackgroundAndersen, J., & Lawall, J. (2010) · Automated Software Engineering · doi:10.1007/s10515-010-0062-z · Cited by 29
Impact of tool support in patch construction
Koyuncu, A., Bissyandé, T. F., Kim, D., Klein, J., Monperrus, M., & Traon, Y. L. (2017) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3092703.3092713 · Cited by 24
Self-citationAn Empirical Study on the Characteristics of Python Fine-Grained Source Code Change Types
Wei, L., Chen, Z., Ma, W., Chen, L., Xu, L., & Xu, B. (2016) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme.2016.25 · Cited by 23 · cited 1×
“More recently, thanks to the availability of new AST differencing tools, researchers have proposed to automatically mine change patterns (Martinez et al. 2013; Osman et al. 2014; Oumarou et al. 2015; Lin et al. 2016).”
Background
Cited by
Automated Program Repair in the Era of Large Pre-trained Language Models
Xia, C. S., Wei, Y., & Zhang, L. (2023) · 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE) · doi:10.1109/icse48619.2023.00129 · Cited by 433
“Furthermore, we also choose 12 traditional APR tools: TBar [19], PraPR [20], AVATAR [16], SimFix [68], FixMiner [15], CapGen [9], JAID [69], SketchFix [13], NOPOL [12], jGenProg [70], jMutRepair [14], and jKali [14].”
CURE: Code-Aware Neural Machine Translation for Automatic Program Repair
Jiang, N., Lutellier, T., & Tan, L. (2021) · 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE) · doi:10.1109/icse43902.2021.00107 · Cited by 290
Less training, more repairing please: revisiting automated program repair via zero-shot learning
Xia, C. S., & Zhang, L. (2022) · Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3540250.3549101 · Cited by 231
Automated Program Repair via Conversation: Fixing 162 out of 337 Bugs for $0.42 Each using ChatGPT
Xia, C. S., & Zhang, L. (2024) · Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis · doi:10.1145/3650212.3680323 · Cited by 203
Wei, Y., Xia, C. S., & Zhang, L. (2023) · Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3611643.3616271 · Cited by 115
“Additionally, we compare against 12 traditional APR tools: PraPR [21], TBar [41], AVATAR [42], SimFix [28], FixMiner [34], CapGen [63], JAID [9], SketchFix [25], NOPOL [13], jGenProg [45], jMutRe-pair [46] and jKali [46].”
BackgroundMethod
Metadata
- Authors
- Koyuncu, A., Liu, K., Bissyandé, T. F., Kim, D., Klein, J., Monperrus, M., & Le Traon, Y.
- Venue
- Empirical Software Engineering
- Published
- 2020-03-14
- Volume
- 25
- Issue
- 3
- Pages
- 1980-2024
- ISSN
- 1382-3256 (ISSN-L)
- 1573-7616
- OpenAlex
- W2895570420
- Cited by
- 188
- References
- 79
- FWCI
- 41.15
- Type
- journal article
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.