Title :
When Code-Anomaly Agglomerations Represent Architectural Problems? An Exploratory Study
Author :
Oizumi, Willian ; Garcia, Alvaro ; Ferreira, Michel ; von Staa, Arndt ; Colanzi, Thelma Elita
Author_Institution :
Inf. Dept., PUC-Rio Rio de Janeiro, Rio de Janeiro, Brazil
fDate :
Sept. 28 2014-Oct. 3 2014
Abstract :
Several projects have been discontinued in the history of the software industry due to the presence of software architecture problems. The identification of such problems in source code is often required in real project settings, but it is a time-consuming and challenging task. Some authors assume that architectural problems are reflected in source code through individual code anomalies. However, each architectural problem may be realized by multiple code anomalies, which are intertwined in several program elements. The relationships of these various code anomalies and their architecture problems´ counterparts are hard to reveal and characterize. In fact, there is little knowledge about the manifestation of code-anomaly agglomerations in software projects and when they adversely impact (or not) the software architecture. To overcome this limitation, we propose studying the architecture impact of a wide range of code-anomaly agglomerations. An agglomeration is a group of code anomalies that are related to each other for some reason - e.g. all of them affect syntactically-related code elements in the program. In our study, we analyzed a total of 5418 code anomalies and 2229 agglomerations within 7 systems. We observed that architectural problems are much more often reflected as anomaly agglomerations rather than individual anomalies in the source code. More importantly, we also revealed when code-anomaly agglomerations were (or not) good indicators of architectural problems. For instance, the result of our study suggests that certain topologies of code-anomaly agglomerations are better indicators than others.
Keywords :
DP industry; software architecture; source code (software); code-anomaly agglomerations; software architecture; software industry; source code; Business; Computer architecture; Data collection; Measurement; Software; Software architecture; Topology; architectural problem; code anomaly; source code analysis;
Conference_Titel :
Software Engineering (SBES), 2014 Brazilian Symposium on
Conference_Location :
Maceio
DOI :
10.1109/SBES.2014.18