Understanding the Interplay between the Logical and Structural Coupling of Software Classes

Ajienka, Nemitari and Capiluppi, Andrea (2017) Understanding the Interplay between the Logical and Structural Coupling of Software Classes. Journal of Systems and Software, 134. pp. 120-137. ISSN 0164-1212 DOI https://doi.org/10.1016/j.jss.2017.08.042

[img] Text
JSS_2017___relationship_____coupling_and_cochange.pdf - Accepted Version
Restricted to Repository staff only until 24 August 2019.
Available under License Creative Commons Attribution Non-commercial No Derivatives.

Download (628kB) | Request a copy

Abstract

During the lifetime of object-Oriented (OO) software systems, new classes are added to increase functionality, also increasing the inter-dependencies between classes. Logical coupling depicts the change dependencies between classes, while structural coupling measures source code dependencies induced via the system architecture. The relationship or dependency between logical and structural coupling have been debated in the past, but no large study has confirmed yet their interplay. In this study, we have analysed 79 open-source software projects of different sizes to investigate the interplay between the two types of coupling. First, we quantified the overlapping or intersection of structural and logical class dependencies. Second, we statistically computed the correlation between the strengths of logical and structural dependencies. Third, we propose a simple technique to determine the stability of OO software systems, by clustering the pairs of classes as “stable” or “unstable”, based on their co-change pattern. The results from our statistical analysis show that although there is no strong evidence of a linear correlation between the strengths of the coupling types, there is substantial evidence to conclude that structurally coupled class pairs usually include logical dependencies. However, not all co-changed class pairs are also linked by structural dependencies. Finally, we identified that only a low proportion of structural coupling shows excessive instability in the studied OSS projects.

Item Type: Article
Uncontrolled Keywords: Object-oriented (OO) Open-source software (OSS), References, Structural coupling, Co-changed structural dependencies (CSD), Coupled logical dependencies (CLD),
Subjects: Q Science > QA Mathematics > QA76 Computer software
Divisions: Computing and Information Systems
Date Deposited: 06 Nov 2017 16:47
URI: http://repository.edgehill.ac.uk/id/eprint/9802

Archive staff only

Item control page Item control page