Volume 8 Number 2 (Feb. 2013)
Home > Archive > 2013 > Volume 8 Number 2 (Feb. 2013) >
JSW 2013 Vol.8(2): 327-336
doi: 10.4304/jsw.8.2.327-336

Qualitative Analysis for the Impact of Accounting for Special Methods in Object- Oriented Class Cohesion Measurement

Jehad Al Dallal

  • Kuwait University/Department of Information Sciences, Kuwait

Abstract

Class cohesion is a key object-oriented softwarequality attribute. It refers to the degree of relatedness ofclass attributes and methods. Several class cohesion metricsare proposed in the literature. However, the impact ofconsidering the special methods (i.e., constructors,destructors, and access and delegation methods) in cohesioncalculation is not thoroughly theoretically studied for mostof the existing cohesion metrics. An incorrect determinationof whether to include or exclude the special methods incohesion measurement can lead to improper refactoringdecisions according to the misleading class cohesion valuesthat are obtained. In this paper, we qualitatively analyze theimpact of including or excluding the special methods incohesion measurement on the values that are obtained byapplying 19 popular class cohesion metrics. The study isbased on analyzing the definitions and formulas that areproposed for the metrics. The results show thatincluding/excluding special methods has a considerableeffect on the cohesion values that are obtained and that thiseffect varies from one metric to another. The study showsthe importance of considering the types of methods thatmust be accounted for when proposing a cohesion metric.

Keywords

  • Object-oriented design
  • class quality
  • c
jsw0802-10

How to Cite

Copied

Jehad Al Dallal, "Qualitative Analysis for the Impact of Accounting for Special Methods in Object- Oriented Class Cohesion Measurement," Journal of Software, vol. 8, no. 2, pp. 327-336, 2013. https://doi.org/ 10.4304/jsw.8.2.327-336

Copyright & License

Copyright © 2013 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).

Article Metrics in Dimensions

General Information

  • ISSN: 1796-217X (Online)

  • Abbreviated Title: J. Softw.

  • Frequency:  Biannually

  • APC: 500USD

  • DOI: 10.17706/JSW

  • Editor-in-Chief: Prof. Antanas Verikas

  • Executive Editor: Ms. Cecilia Xie

  • Abstracting/ Indexing: DBLP, CNKI, 

  • Google Scholar, ProQuest,
           INSPEC(IET), ULRICH's Periodicals
           Directory, WorldCat, etc

  • E-mail: editor@jsoftware.us

  • Aug 27, 2026 News!

    Vol 21, No 1 has been published with online version

  • Mar 30, 2026 News!

    Vol 20, No 2 has been published with online version   [Click]

  • Apr 01, 2024 News!

    Vol 14, No 4- Vol 14, No 12 has been indexed by IET-(Inspec)     [Click]

  • Apr 01, 2024 News!

    Papers published in JSW Vol 18, No 1- Vol 18, No 6 have been indexed by DBLP   [Click]

  • Mar 07, 2025 News!

    JSW had implemented online submission system   [Click]