Journals / Celal Bayar Üniversitesi Fen Bilimleri Dergisi / 2019 / Cilt: 15 - Sayı: 2
Predicting Co-Changed Files: An External, Conceptual Replication
- Pages
- 161–169
- DOI
- —
Abstract
A software project can be comprised of several, highly connected files. A software developer may notknow the files that are connected to which are developed or that are changed by another developer. Thismay induce faults by missing necessary edits on all related files. We build a prediction model foridentifying files that should be edited together during a code change, and evaluate the performance of ourmodel on two Apache projects’ development history over more than 10 years. We conduct an external,conceptual replication study based on Wiese et al.'s prior work on predicting co-changed files. Our studyshares the same goal but differentiates the experimental design in terms of data set construction, selectionof file pairs, feature selection and the model output. Our prediction model’s results, although the sameperformance measures are used, are much lower than what is reported in Wiese et al.’s study, mainly dueto the differences in calculating these measures. The models evaluated at commit granularity couldachieve 20% and 45% lower recall and precision rates, respectively, than those aggregated over all file-pairs. Although it is practically more useful, predicting all files that will be co-changed together during acommit is more challenging than predicting whether a particular file will be changed in that commit. Moreinformation about the context of a co-change, the degree of centrality of a file in the project, or projectcharacteristics could reveal more insights in building such predictors in the future.