HistoRank: History-Based Ranking of Co-change Candidates
Authors:
- 1 February 2020
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 240-250
Abstract
Evolutionary coupling is a well investigated phenomenon during software evolution and maintenance. If two or more program entities co-change (i.e., change together) frequently during evolution, it is expected that the entities are coupled. This type of coupling is called evolutionary coupling or change coupling in the literature. Evolutionary coupling is realized using association rules and two measures: support and confidence. Association rules have been extensively used for predicting co-change candidates for a target program entity (i.e., an entity that a programmer attempts to change). However, association rules often predict a large number of co-change candidates with many false positives. Thus, it is important to rank the predicted co-change candidates so that the true positives get higher priorities. The predicted co-change candidates have always been ranked using the support and confidence measures of the association rules. In our research, we investigate five different ranking mechanisms on thousands of commits of ten diverse subject systems. On the basis of our findings, we propose a history-based ranking approach, HistoRank (History-based Ranking), that analyzes the previous ranking history to dynamically select the most appropriate one from those five ranking mechanisms for ranking co-change candidates of a target program entity. According to our experiment result, HistoRank outperforms each individual ranking mechanism with a significantly better MAP (mean average precision). We investigate different variants of HistoRank and realize that the variant that emphasizes the ranking in the most recent occurrence of co-change in the history performs the best.Keywords
This publication has 22 references indexed in Scilit:
- Prediction and ranking of co-change candidates for clones2014
- Improving the detection accuracy of evolutionary coupling by measuring change correspondence2014
- Using Co-change Histories to Improve Bug Localization Performance2013
- A preliminary investigation of using age and distance measures in the detection of evolutionary couplings2013
- Fault Prediction Capability of Program File's Logical-Coupling Metrics2011
- Tracing Model Elements2007 IEEE International Conference on Software Maintenance, 2007
- CVS release history data for detecting logical couplings2004
- Application of relation analysis to a small Java software2004
- Mining association rules between sets of items in large databases1993
- Measures of the Amount of Ecologic Association Between SpeciesEcology, 1945