On the correlation between Architectural Smells and Static Analysis Warnings
Matteo Esposito, Mikel Robredo, Francesca Arcelli Fontana, Valentina Lenarduzzi

TL;DR
This study investigates the relationship between static analysis warnings and architectural smells in Java projects, revealing correlations that can help prioritize code quality efforts effectively.
Contribution
It provides an empirical analysis of the correlation between static analysis warnings and architectural smells, introducing a prioritization method for remediation efforts.
Findings
Moderate correlation between SAWs and ASs.
Certain SAWs are more prone to co-occur with specific ASs.
33.79% of SAWs are not associated with any ASs.
Abstract
Background. Software quality assurance is essential during software development and maintenance. Static Analysis Tools (SAT) are widely used for assessing code quality. Architectural smells are becoming more daunting to address and evaluate among quality issues. Objective. We aim to understand the relationships between static analysis warnings (SAW) and architectural smells (AS) to guide developers/maintainers in focusing their efforts on SAWs more prone to co-occurring with AS. Method. We performed an empirical study on 103 Java projects totaling 72 million LOC belonging to projects from a vast set of domains, and 785 SAW detected by four SAT, Checkstyle, Findbugs, PMD, SonarQube, and 4 architectural smells detected by ARCAN tool. We analyzed how SAWs influence AS presence. Finally, we proposed an AS remediation effort prioritization based on SAW severity and SAW proneness to…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSafety Warnings and Signage · Occupational Health and Safety Research · Human-Automation Interaction and Safety
