Predicting source code changes by mining change history
Annie T. T. Ying, Gail C. Murphy, R.T. Ng et al. · IEEE Transactions on Software Engineering · 2004
Software developers are often faced with modification tasks that involve source which is spread across a code base. Some dependencies between source code, such as those between source code written in different languages, are difficult to determine using existing static and dynamic analyses. To augment existing analyses and to help developers identify relevant source code during a modification task, we have developed an approach that applies data mining techniques to determine change patterns - sets of files that were changed together frequently in the past - from the change history of the code base. Our hypothesis is that the change patterns can be used to recommend potentially relevant source code to a developer performing a modification task. We show that this approach can reveal valuable dependencies by applying the approach to the Eclipse and Mozilla open source projects and by evaluating the predictability and interestingness of the recommendations produced for actual modification tasks on these systems.
Cited by 571 works. doi:10.1109/tse.2004.52
Authors
References
- Mining association rules between sets of items in large databases
- Fast Algorithms for Mining Association Rules in Large Databases
- Fast algorithms for mining association rules
- On the criteria to be used in decomposing systems into modules
- Mining frequent patterns without candidate generation
- Program Slicing
- Mining frequent patterns without candidate generation
- Beyond market baskets
- Two case studies of open source software development
- Clone detection using abstract syntax trees