We present a study of 600 Java software networks with the aim of characterizing the relationship among their defectiveness and community metrics. We analyze the community structure of such networks, defined as their topological division into subnetworks of densely connected nodes. A high density of connections represents a higher level of cooperation between classes, so a well-defined division in communities could indicate that the software system has been designed in a modular fashion and all its functionalities are well separated. We show how the community structure can be an indicator of well-written, high quality code by retrieving the communities of the analyzed systems and by ranking their division in communities through the built-in metric called modularity. We found that the software systems with highest modularity possess the majority of bugs, and tested whether this result is related to some confounding effect. We found two power laws relating the maximum defect density with two different metrics: the number of detected communities inside a software network and the clustering coefficient. We finally found a linear correlation between clustering coefficient and number of communities. Our results can be used to make predictive hypotheses about software defectiveness of future releases of the analyzed systems.
Concas, G., Marchesi, M., Monni, C., Orru', M., & Tonelli, R. (2017). Software Quality and Community Structure in Java Software Networks. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 27(7), 1063-1096 [10.1142/S0218194017500401].
|Citazione:||Concas, G., Marchesi, M., Monni, C., Orru', M., & Tonelli, R. (2017). Software Quality and Community Structure in Java Software Networks. INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 27(7), 1063-1096 [10.1142/S0218194017500401].|
|Tipo:||Articolo in rivista - Articolo scientifico|
|Carattere della pubblicazione:||Scientifica|
|Presenza di un coautore afferente ad Istituzioni straniere:||Si|
|Titolo:||Software Quality and Community Structure in Java Software Networks|
|Autori:||Concas, G; Marchesi, M; Monni, C; Orru', M; Tonelli, R|
|Data di pubblicazione:||2017|
|Rivista:||INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING|
|Digital Object Identifier (DOI):||http://dx.doi.org/10.1142/S0218194017500401|
|Appare nelle tipologie:||01 - Articolo su rivista|