z-logo
open-access-imgOpen Access
Effects of incorporating special methods into cohesion measurement on class instantiation reuse‐proneness prediction
Author(s) -
Al Dallal Jehad
Publication year - 2014
Publication title -
iet software
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.305
H-Index - 43
eISSN - 1751-8814
pISSN - 1751-8806
DOI - 10.1049/iet-sen.2013.0243
Subject(s) - cohesion (chemistry) , reuse , reusability , computer science , class (philosophy) , group cohesiveness , artificial intelligence , programming language , psychology , engineering , software , social psychology , waste management , chemistry , organic chemistry
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.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here