An empirical investigation of the impact of architectural smells on software maintainability
In recent years, interest in the potential influence of architectural smells on software maintainability has grown. Yet, empirical evidence directly linking maintainability quality attributes — such as modularity and testability — with architectural smells is scarce. This study analyzes seven architectural smells across 378 versions of eight open-source projects. We developed a tool to gather data on architectural smells, associated projects, and package-level quality attributes. The empirical findings reinforce that certain architectural smells indeed correlate with specific quality attributes - a notion previously backed merely by argument. Most architectural smells negatively correlated with project-level testability but not project-level modularity. While there is not a consistent negative correlation with testability at the package level, many smells display a pronounced negative association with the maintainability quality attributes. • The size of projects has a significant impact on both modularity and testability. • Architectural smells show a negative relationship with testability. • Addressing Dense Structure smell can improve modularity and testability. • Addressing God Component smell can improve modularity and testability. • Addressing Scattered Functionality smell can improve modularity and testability.
Authors
- Felix Dobslaw (ORCID: https://orcid.org/0000-0001-9372-3416)
- Simon Karlsson (ORCID: https://orcid.org/0000-0002-3817-380X)
- Rodi Jolak (ORCID: https://orcid.org/0000-0001-5656-9253)
Institutions
- Mid Sweden University (SE)
Publication Details
- Journal
- Journal of Systems and Software
- Published
- 2025-02-21
- DOI
- https://doi.org/10.1016/j.jss.2025.112382
- Citations
- 4
- Primary Topic
- Software Engineering Research
- Type
- article
- Field-Weighted Citation Impact
- 12.98