DocumentCode :
2333003
Title :
Using source code metrics to predict change-prone Java interfaces
Author :
Romano, Daniele ; Pinzger, Martin
Author_Institution :
Software Eng. Res. Group, Delft Univ. of Technol., Delft, Netherlands
fYear :
2011
fDate :
25-30 Sept. 2011
Firstpage :
303
Lastpage :
312
Abstract :
Recent empirical studies have investigated the use of source code metrics to predict the change- and defect-proneness of source code files and classes. While results showed strong correlations and good predictive power of these metrics, they do not distinguish between interface, abstract or concrete classes. In particular, interfaces declare contracts that are meant to remain stable during the evolution of a software system while the implementation in concrete classes is more likely to change. This paper aims at investigating to which extent the existing source code metrics can be used for predicting change-prone Java interfaces. We empirically investigate the correlation between metrics and the number of fine-grained source code changes in interfaces of ten Java open-source systems. Then, we evaluate the metrics to calculate models for predicting change-prone Java interfaces. Our results show that the external interface cohesion metric exhibits the strongest correlation with the number of source code changes. This metric also improves the performance of prediction models to classify Java interfaces into change-prone and not change-prone.
Keywords :
Java; software metrics; software reliability; user interfaces; Java open-source systems; change-prone Java interfaces; change-proneness; concrete classes; defect-proneness; external interface cohesion metric; fine-grained source code; prediction models; software system; source code classes; source code files; source code metrics; Complexity theory; Concrete; Correlation; Java; Measurement; Predictive models; Software systems;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Maintenance (ICSM), 2011 27th IEEE International Conference on
Conference_Location :
Williamsburg, VI
ISSN :
1063-6773
Print_ISBN :
978-1-4577-0663-9
Electronic_ISBN :
1063-6773
Type :
conf
DOI :
10.1109/ICSM.2011.6080797
Filename :
6080797
Link To Document :
بازگشت