DocumentCode :
1765624
Title :
Effects of incorporating special methods into cohesion measurement on class instantiation reuse-proneness prediction
Author :
Al Dallal, Jehad
Author_Institution :
Dept. of Inf. Sci., Kuwait Univ., Safat, Kuwait
Volume :
8
Issue :
6
fYear :
2014
fDate :
12 2014
Firstpage :
285
Lastpage :
295
Abstract :
The previously proposed class cohesion measures employ different approaches to assess the strength of the relations between the attributes and methods in a class. Access methods, constructors and destructors are special types of methods with special characteristics that can falsely alter the class cohesion measurement. In this study, the authors empirically explored the impact of considering special methods (SPs) on the cohesion measures´ abilities to predict the classes that can be intensively reused via instantiation (IRI). They considered classes in the JHotDraw and Eclipse systems. For each class, they obtained cohesion results using 17 measures in four different scenarios of considering or ignoring SPs. They collected the instantiation reusability data and applied a statistical technique to build a prediction model using each measure in each considered scenario. They investigated the significance of the changes in the prediction results. The authors´ results demonstrated that cohesion had a negative impact on class instantiation reuse-proneness and that SPs had significant impacts on cohesion values and the abilities of the cohesion measures to predict IRI classes. In practice, when applying cohesion measures to predict IRI classes, the results suggest that SPs must be included in cohesion measurement.
Keywords :
object-oriented methods; object-oriented programming; software metrics; software reusability; Eclipse system; IRI; JHotDraw system; SPs; class cohesion measurement; class instantiation reuse-proneness prediction; instantiation reusability data; intensively reused via instantiation; object-oriented systems; special method incorporation;
fLanguage :
English
Journal_Title :
Software, IET
Publisher :
iet
ISSN :
1751-8806
Type :
jour
DOI :
10.1049/iet-sen.2013.0243
Filename :
6992833
Link To Document :
بازگشت