Watch out for this commit! A study of influential software changes

Daoyuan Li, Li Li, Dongsun Kim, Tegawendé F. Bissyandé, David Lo, Yves Le Traon

Research output: Contribution to journalArticlepeer-review

9 Scopus citations

Abstract

One single code change can significantly influence a wide range of software systems and their users. For example, (a) adding a new feature can spread defects in several modules, while (b) changing an API method can improve the performance of all client programs. Unfortunately, developers often may not clearly know whether code changes are influential at commit time. This paper investigates influential software changes and proposes an approach to identify them immediately when they are applied. Our goals are to (a) identify existing influential changes (ICs) in software projects, (b) understand their characteristics, and (c) build a classification model of ICs to help developers find and address them early. We first conduct a post-mortem analysis to discover existing influential changes by using intuitions (eg, changes referred by other changes). Then, we re-categorize all identified changes through an open-card sorting process. Subsequently, we conduct a survey with about 100 developers to finalize a taxonomy. Finally, from our ground truth, we extract features, including metrics such as the complexity of changes and file centrality in co-change graphs to build machine learning classifiers. The experiment results show that our classification model with random samples achieves 86.8% precision, 74% recall, and 80.4% F-measure, respectively.

Original languageEnglish
Article numbere2181
JournalJournal of software: Evolution and Process
Volume31
Issue number12
DOIs
StatePublished - 1 Dec 2019

Keywords

  • change prediction
  • change risk
  • influential change
  • software changes
  • software evolution

Fingerprint

Dive into the research topics of 'Watch out for this commit! A study of influential software changes'. Together they form a unique fingerprint.

Cite this