Abstract
The modularity of a software system is known to have an effect on, among other, development effort, change impact, and technical debt. Modularizing a specific system and evaluating this modularization is, however, challenging. In this paper, we apply community detection methods to the graph of class dependencies in software systems to find optimal modularizations through communities. We evaluate this approach through a study of 111 Java systems contained in the Qualitas Corpus. We found that using the modularity function of Newman with an Erdős-Rényi null-model and using the community detection algorithm of Reichardt and Bornholdt improved community quality for all systems, that coupling decreased for 99 of the systems, and that coherence increased for 102 of the systems. Furthermore, the modularity function correlates with existing metrics for coupling and coherence.
Originalsprog | Engelsk |
---|---|
Titel | Software architecture : 9th European Conference, ECSA 2015, Dubrovnik/Cavtat, Croatia, September 7–11, 2015, Proceedings |
Redaktører | Danny Weyns, Raffaela Mirandola, Ivica Crnkovic |
Antal sider | 8 |
Forlag | Springer |
Publikationsdato | 2015 |
Sider | 95-102 |
Kapitel | 8 |
ISBN (Trykt) | 978-3-319-23726-8 |
ISBN (Elektronisk) | 978-3-319-23727-5 |
DOI | |
Status | Udgivet - 2015 |
Begivenhed | European Conference on Software Architecture Workshops 2015 - Dubrovnik/Cavtat, Kroatien Varighed: 7 sep. 2015 → 11 sep. 2015 Konferencens nummer: 9 |
Konference
Konference | European Conference on Software Architecture Workshops 2015 |
---|---|
Nummer | 9 |
Land/Område | Kroatien |
By | Dubrovnik/Cavtat |
Periode | 07/09/2015 → 11/09/2015 |
Navn | Lecture notes in computer science |
---|---|
Vol/bind | 9278 |
ISSN | 0302-9743 |