Back to Search Start Over

Concern-based cohesion: Unveiling a hidden dimension of cohesion measurement.

Authors :
Silva, Bruno
Sant'Anna, Claudio
Chavez, Christina
Garcia, Alessandro
Source :
2012 20th IEEE International Conference on Program Comprehension (ICPC); 1/ 1/2012, p103-112, 10p
Publication Year :
2012

Abstract

Cohesion has been avidly recognized as a key property of software modularity. Ideally, a software module is considered to be cohesive if it represents an abstraction of a single concern of the software. Modules with several concerns may be harder to understand because developers must mentally separate the source code related to each concern. Also, modules implementing several concerns are more likely to undergo changes as much as distinct development tasks may target its different concerns. The most well-known cohesion metrics are defined in terms of the syntactical structure of a module, and as a consequence fail to capture the amount of concerns realized by the module. In this context, we investigated the potential of a new metric, called Lack of Concern-based Cohesion. This metric explicitly counts the number of concerns realized by each module. We compared this metric with other five structural cohesion metrics by applying them over six open source software systems. We studied how those metrics are associated with module changes by mining over 16,000 repository revisions. Our results pointed out that the concern-based metric captured a cohesion dimension that is not reflected by structural metrics, and, as a consequence, adds to the association of cohesion and change-proneness. [ABSTRACT FROM PUBLISHER]

Details

Language :
English
ISBNs :
9781467312134
Database :
Complementary Index
Journal :
2012 20th IEEE International Conference on Program Comprehension (ICPC)
Publication Type :
Conference
Accession number :
86500739
Full Text :
https://doi.org/10.1109/icpc.2012.6240476