The Uniqueness of Changes: Characteristics and Applications
- 1 May 2015
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 21601852,p. 34-44
Abstract
Changes in software development come in many forms. Some changes are frequent, idiomatic, or repetitive (e.g. Adding checks for nulls or logging important values) while others are unique. We hypothesize that unique changes are different from the more common similar (or non-unique) changes in important ways, they may require more expertise or represent code that is more complex or prone to mistakes. As such, these unique changes are worthy of study. In this paper, we present a definition of unique changes and provide a method for identifying them in software project history. Based on the results of applying our technique on the Linux kernel and two large projects at Microsoft, we present an empirical study of unique changes. We explore how prevalent unique changes are and investigate where they occur along the architecture of the project. We further investigate developers' contribution towards uniqueness of changes. We also describe potential applications of leveraging the uniqueness of change and implement two of those applications, evaluating the risk of changes based on uniqueness and providing change recommendations for non-unique changes.Keywords
This publication has 38 references indexed in Scilit:
- A case study of cross-system porting in forked projects2012
- Sydit2011
- Evaluating defect prediction approaches: a benchmark and an extensive comparisonEmpirical Software Engineering, 2011
- Memories of bug fixes2006
- Strathcona example recommendation tool2005
- An empirical study of code clone genealogiesACM SIGSOFT Software Engineering Notes, 2005
- Predicting source code changes by mining change historyIEEE Transactions on Software Engineering, 2004
- CCFinder: a multilinguistic token-based code clone detection system for large scale source codeIEEE Transactions on Software Engineering, 2002
- A critique of software defect prediction modelsIEEE Transactions on Software Engineering, 1999
- An exact algorithm for the maximum clique problemOperations Research Letters, 1990