We found a match
Your institution may have rights to this item. Sign in to continue.
- Title
Measuring Object-Oriented Class Cohesion Based on Complex Networks.
- Authors
Gu, Aihua; Zhou, Xiaofeng; Li, Zonghua; Li, Qinfeng; Li, Lu
- Abstract
Class cohesion has an immediate impact on maintainability, modifiability and understandability of the software. Here, a new metric of cohesion based on complex networks (CBCN) for measuring connectivity of class members was developed mainly relying on calculating class average clustering coefficient from graphs representing connectivity patterns of the various class members. In addition, the CBCN metric was assessed with theoretical validation according to four properties (nonnegativity and normalization, null and maximum values, monotonicity, cohesive modules) of the class cohesion theory. Based on data comparison with existing seventeen typical class cohesion metrics of class cohesion for a system, the CBCN metric was superior to others. Applying the CBCN metric to three open source software systems to calculate class average clustering coefficients, we found that understanding, modification and maintenance of classes in an open software system could be likely less difficult compared with those of others. Three open software systems have power-law distributions for the class average clustering coefficient, which makes possible the further understanding of the cohesion metric based on complex networks.
- Subjects
COHESION; MATERIAL plasticity
- Publication
Arabian Journal for Science & Engineering (Springer Science & Business Media B.V. ), 2017, Vol 42, Issue 8, p3551
- ISSN
2193-567X
- Publication type
Article
- DOI
10.1007/s13369-017-2588-x