Title :
An empirical study on the developers´ perception of software coupling
Author :
Bavota, Gabriele ; Dit, Bogdan ; Oliveto, Rocco ; Di Penta, Massimiliano ; Poshyvanyk, Denys ; De Lucia, Andrea
Author_Institution :
Univ. of Salerno, Fisciano, Italy
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 :
Java; Unified Modeling Language; public domain software; software engineering; ArgoUML; JHotDraw; Java open-source systems; developers perception; dynamic coupling measures; jEdit; logical coupling measures; semantic coupling measures; software coupling; software systems; source code vocabulary; structural coupling measures; Couplings; Iterative closest point algorithm; Java; Semantics; Software; Software measurement; Empirical Studies; Software Coupling;
Conference_Titel :
Software Engineering (ICSE), 2013 35th International Conference on
Conference_Location :
San Francisco, CA
Print_ISBN :
978-1-4673-3073-2
DOI :
10.1109/ICSE.2013.6606615