An empirical study on the developers' perception of software coupling
- 1 May 2013
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 02705257,p. 692-701
Abstract
Coupling is a fundamental property of software systems, and numerous coupling measures have been proposed to support various development and maintenance activities. However, little is known about how developers actually perceive coupling, what mechanisms constitute coupling, and if existing measures align with this perception. In this paper we bridge this gap, by empirically investigating how class coupling - as captured by structural, dynamic, semantic, and logical coupling measures - aligns with developers' perception of coupling. The study has been conducted on three Java open-source systems - namely ArgoUML, JHotDraw and jEdit - and involved 64 students, academics, and industrial practitioners from around the world, as well as 12 active developers of these three systems. We asked participants to assess the coupling between the given pairs of classes and provide their ratings and some rationale. The results indicate that the peculiarity of the semantic coupling measure allows it to better estimate the mental model of developers than the other coupling measures. This is because, in several cases, the interactions between classes are encapsulated in the source code vocabulary, and cannot be easily derived by only looking at structural relationships, such as method calls.Keywords
This publication has 32 references indexed in Scilit:
- Using structural and textual information to capture feature coupling in object-oriented softwareEmpirical Software Engineering, 2011
- Identifying Extract Class refactoring opportunities using structural and semantic cohesion measuresJournal of Systems and Software, 2011
- Using information retrieval based coupling measures for impact analysisEmpirical Software Engineering, 2008
- Object-oriented cohesion subjectivity amongst experienced and novice developersACM SIGSOFT Software Engineering Notes, 2006
- Predicting source code changes by mining change historyIEEE Transactions on Software Engineering, 2004
- Dynamic coupling measurement for object-oriented softwareIEEE Transactions on Software Engineering, 2004
- Exploring the relationships between design measures and software quality in object-oriented systemsJournal of Systems and Software, 2000
- A unified framework for coupling measurement in object-oriented systemsIEEE Transactions on Software Engineering, 1999
- Managerial use of metrics for object-oriented software: an exploratory analysisIEEE Transactions on Software Engineering, 1998
- A metrics suite for object oriented designIEEE Transactions on Software Engineering, 1994