Exploring the Relationship between Cohesion and Complexity
Cara Stein, Glenn Cox & Letha Etzkorn
Journal of Computer Science, Volume 1, Issue 2, pp. 137–144 · doi.org/10.3844/jcssp.2005.137.144
Abstract
Many metrics have been proposed to measure the complexity or cohesion of object-oriented software. However, the complexity or cohesion of a piece of software is more difficult to capture than these metrics imply. In fact, studies have shown that existing metrics consistently fail to capture complexity or cohesion well. This study explores the reasons behind these results: cohesion is difficult to capture from syntactic elements of code, complexity is too multi-faceted to be captured by one metric and the qualities of complexity and cohesion are not independent. These factors have resulted in metrics that are purported to measure complexity or cohesion but are inadequate or misclassified. This study shows that there is overlap between some of the complexity and cohesion metrics and points to a more basic relationship between complexity and cohesion: that a lack of cohesion may be associated with high complexity.
Licence and reuse
Free to read. This article carries the publisher’s copyright, as printed on it: © 2005 Science Publications. It is free to read; ask us before reusing it.
How to reuse this articleResponses (0)
About this article
Stein, C., Cox, G. & Etzkorn, L. (2005). Exploring the Relationship between Cohesion and Complexity. Journal of Computer Science, 1(2), 137–144. https://doi.org/10.3844/jcssp.2005.137.144
- Licence
- © Science Publications
- Issue
- Volume 1, Issue 2
- Policies
- Editorial independenceUse of generative AIData availabilityAppeals and complaints
- Version
- Version of record
