TY - JOUR
T1 - Pieces of contextual information suitable for predicting co-changes? An empirical study
AU - Wiese, Igor Scaliante
AU - Kuroda, Rodrigo Takashi
AU - Steinmacher, Igor
AU - Oliva, Gustavo Ansaldi
AU - Ré, Reginaldo
AU - Treude, Christoph
AU - Gerosa, Marco Aurelio
N1 - Publisher Copyright:
© 2019, Springer Science+Business Media, LLC, part of Springer Nature.
PY - 2019/12/1
Y1 - 2019/12/1
N2 - Models that predict software artifact co-changes have been proposed to assist developers in altering a software system and they often rely on coupling. However, developers have not yet widely adopted these approaches, presumably because of the high number of false recommendations. In this work, we conjecture that the contextual information related to software changes, which is collected from issues (e.g., issue type and reporter), developers’ communication (e.g., number of issue comments, issue discussants and words in the discussion), and commit metadata (e.g., number of lines added, removed, and modified), improves the accuracy of co-change prediction. We built customized prediction models for each co-change and evaluated the approach on 129 releases from a curated set of 10 Apache Software Foundation projects. Comparing our approach with the widely used association rules as a baseline, we found that contextual information models and association rules provide a similar number of co-change recommendations, but our models achieved a significantly higher F-measure. In particular, we found that contextual information significantly reduces the number of false recommendations compared to the baseline model. We conclude that contextual information is an important source for supporting change prediction and may be used to warn developers when they are about to miss relevant artifacts while performing a software change.
AB - Models that predict software artifact co-changes have been proposed to assist developers in altering a software system and they often rely on coupling. However, developers have not yet widely adopted these approaches, presumably because of the high number of false recommendations. In this work, we conjecture that the contextual information related to software changes, which is collected from issues (e.g., issue type and reporter), developers’ communication (e.g., number of issue comments, issue discussants and words in the discussion), and commit metadata (e.g., number of lines added, removed, and modified), improves the accuracy of co-change prediction. We built customized prediction models for each co-change and evaluated the approach on 129 releases from a curated set of 10 Apache Software Foundation projects. Comparing our approach with the widely used association rules as a baseline, we found that contextual information models and association rules provide a similar number of co-change recommendations, but our models achieved a significantly higher F-measure. In particular, we found that contextual information significantly reduces the number of false recommendations compared to the baseline model. We conclude that contextual information is an important source for supporting change prediction and may be used to warn developers when they are about to miss relevant artifacts while performing a software change.
KW - Change coupling
KW - Change impact analysis
KW - Change propagation
KW - Co-change prediction
KW - Contextual information
KW - Logical coupling
KW - Social factors
UR - http://www.scopus.com/inward/record.url?scp=85068836522&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85068836522&partnerID=8YFLogxK
U2 - 10.1007/s11219-019-09456-3
DO - 10.1007/s11219-019-09456-3
M3 - Article
AN - SCOPUS:85068836522
SN - 0963-9314
VL - 27
SP - 1481
EP - 1503
JO - Software Quality Journal
JF - Software Quality Journal
IS - 4
ER -