Skip to main navigation Skip to search Skip to main content

Empirical Exploration of the Relationship Between Coupling and Method Interaction-Based Cohesion Measures for Object-Oriented Classes

  • Gulf University for Science and Technology

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

Abstract

Developing high-quality systems is an essential goal in software engineering. Coupling and cohesion are two highly considered quality attributes. For object-oriented systems, class cohesion refers to the relatedness of members of a class, whereas class coupling refers to the relationship between a class and other classes. To maintain a high-quality level, developers must aim at increasing class cohesion and reducing class coupling. Existing cohesion measures follow different measurement approaches. Interaction-based cohesion measures consider the degree of interaction between each pair of methods in a class. Aiming at providing quality-based guidelines for software developers, this study empirically explores the relationship between eight coupling and five interaction-based cohesion measures. The study involves classes in three open-source applications. The study results indicate that cohesion and coupling measures are inversely correlated. In addition, the results show that the correlation between cohesion and coupling measures is mostly weak, which empirically supports the expectation that these measures quantify different quality aspects. The strength of the correlation dramatically differs from one cohesion measure to another due to the differences between these measures in their formulas and measurement approaches.

Original languageEnglish
Title of host publication2023 Computer Applications and Technological Solutions, CATS 2023
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9798350383881
DOIs
StatePublished - 2023
Externally publishedYes
Event2023 Computer Applications and Technological Solutions, CATS 2023 - Mubarak Al-Abdullah, Kuwait
Duration: 29 Oct 2023 → 30 Oct 2023

Publication series

Name2023 Computer Applications and Technological Solutions, CATS 2023

Conference

Conference2023 Computer Applications and Technological Solutions, CATS 2023
Country/TerritoryKuwait
CityMubarak Al-Abdullah
Period29/10/23 → 30/10/23

Keywords

  • class cohesion
  • class coupling
  • interaction-based cohesion
  • object-oriented code
  • quality measure

Fingerprint

Dive into the research topics of 'Empirical Exploration of the Relationship Between Coupling and Method Interaction-Based Cohesion Measures for Object-Oriented Classes'. Together they form a unique fingerprint.

Cite this