TY - JOUR
T1 - Mining version history to predict the class instability
AU - Hussain, Shahid
AU - Afzal, Humaira
AU - Mufti, Muhammad Rafiq
AU - Imran, Muhammad
AU - Ali, Amjad
AU - Ahmad, Bashir
N1 - Publisher Copyright:
© 2019 Hussain et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
PY - 2019/9/1
Y1 - 2019/9/1
N2 - While most of the existing class stability assessors just rely on structural information retrieved from a desired source code snapshot. However, class stability is intrinsically characterized by the evolution of a number of dependencies and change propagation factors which aid to promote the ripple effect. Identification of classes prone to ripple effect (instable classes) through mining the version history of change propagation factors can aid developers to reduce the efforts needed to maintain and evolve the system. We propose Historical Information for Class Stability Prediction (HICSP), an approach to exploit change history information to predict the instable classes based on its correlation with change propagation factors. Subsequently, we performed two empirical studies. In the first study, we evaluate the HICSP on the version history of 10 open source projects. Subsequently, in the second replicated study, we evaluate the effectiveness of HICSP by tuning the parameters of its stability assessors. We observed the 4 to 16 percent improvement in term of F-measure value to predict the instable classes through HICSP as compared to existing class stability assessors. The promising results indicate that HICSP is able to identify instable classes and can aid developers in their decision making.
AB - While most of the existing class stability assessors just rely on structural information retrieved from a desired source code snapshot. However, class stability is intrinsically characterized by the evolution of a number of dependencies and change propagation factors which aid to promote the ripple effect. Identification of classes prone to ripple effect (instable classes) through mining the version history of change propagation factors can aid developers to reduce the efforts needed to maintain and evolve the system. We propose Historical Information for Class Stability Prediction (HICSP), an approach to exploit change history information to predict the instable classes based on its correlation with change propagation factors. Subsequently, we performed two empirical studies. In the first study, we evaluate the HICSP on the version history of 10 open source projects. Subsequently, in the second replicated study, we evaluate the effectiveness of HICSP by tuning the parameters of its stability assessors. We observed the 4 to 16 percent improvement in term of F-measure value to predict the instable classes through HICSP as compared to existing class stability assessors. The promising results indicate that HICSP is able to identify instable classes and can aid developers in their decision making.
UR - http://www.scopus.com/inward/record.url?scp=85072244171&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85072244171&partnerID=8YFLogxK
U2 - 10.1371/journal.pone.0221780
DO - 10.1371/journal.pone.0221780
M3 - Article
C2 - 31525204
AN - SCOPUS:85072244171
SN - 1932-6203
VL - 14
JO - PLoS One
JF - PLoS One
IS - 9
M1 - e0221780
ER -