Home > Research > Publications & Outputs > The relationship between evolutionary coupling ...


Text available via DOI:

View graph of relations

The relationship between evolutionary coupling and defects in large industrial software

Research output: Contribution to Journal/MagazineJournal articlepeer-review

Article numbere1842
<mark>Journal publication date</mark>1/04/2017
<mark>Journal</mark>Journal of Software: Evolution and Process
Issue number4
Publication StatusPublished
Early online date7/02/17
<mark>Original language</mark>English


Evolutionary coupling (EC) is defined as the implicit relationship between 2 or more software artifacts that are frequently changed together. Changing software is widely reported to be defect-prone. In this study, we investigate the effect of EC on the defect proneness of large industrial software systems and explain why the effects vary. We analysed 2 large industrial systems: a legacy financial system and a modern telecommunications system. We collected historical data for 7 years from 5 different software repositories containing 176 thousand files. We applied correlation and regression analysis to explore the relationship between EC and software defects, and we analysed defect types, size, and process metrics to explain different effects of EC on defects through correlation. Our results indicate that there is generally a positive correlation between EC and defects, but the correlation strength varies. Evolutionary coupling is less likely to have a relationship to software defects for parts of the software with fewer files and where fewer developers contributed. Evolutionary coupling measures showed higher correlation with some types of defects (based on root causes) such as code implementation and acceptance criteria. Although EC measures may be useful to explain defects, the explanatory power of such measures depends on defect types, size, and process metrics.