Kent State University
DEFINING AND VALIDATING A CLIENT-BASED CLASS COHESION METRIC FOR OBJECT-ORIENTED SYSTEMS
Abstract
dc:descriptionCohesion of a software module broadly refers to the relatedness of the elements of the module. A highly cohesive module has elements that contribute to a common purpose. Such modules are believed to be more understandable, maintainable, and testable. Most existing object-oriented class cohesion metrics measure the cohesion of a class based on internal connections between the methods of the class where two methods are internally connected if they both reference common attributes in the class. In this research, we propose a client-based class cohesion metric which we name CCC and which measures the cohesion of a class based on how its public methods are used by its clients. The required information for CCC to calculate the cohesion of a class can be extracted during the high-level design phase from class and communication diagrams defined by the Unified Modeling Language (UML). We validate the proposed metric theoretically, and we empirically demonstrate its usefulness. Theoretically, we analyze the compliance of CCC with the cohesion metric properties. Empirically, we analyze the extent to which fourteen class cohesion metrics, including CCC, can individually and in combination predict class maintainability and testability. Our results show that CCC can be used individually to predict class maintainability and testability and that CCC can be used as a useful complementary to other class cohesion metrics to better predict class maintainability and testability.
Degree
thesis:*- Name thesis:degree_name
- PHD
- Level thesis:degree_level
- doctoral
- Discipline thesis:degree_discipline
- College of Arts and Sciences / Department of Computer Science
- Grantor dc:publisher
- Kent State University
- Year dc:date
- 2017
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Alzahrani, Musaad
- Advisor dc:contributor.advisor
-
- Melton, Austin
Subjects
dc:subject × 1Rights
dc:rights- Statement dc:rights
-
- unrestricted
- This thesis or dissertation is protected by copyright: some rights reserved. It is licensed for use under a Creative Commons license. Specific terms and permissions are available from this document's record in the OhioLINK ETD Center.
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://rave.ohiolink.edu/etdc/view?acc_num=kent1492509488358028