An Empirical Evaluation of Code Smell Detection in Angular Applications
Maykon Nunes, Emanuel Coutinho, Carla Bezerra, Ivan Machado

TL;DR
This paper catalogs Angular-specific code smells from grey literature, develops an automated detection tool, and demonstrates its high effectiveness through empirical evaluation, aiding developers in maintaining cleaner Angular code.
Contribution
It introduces the first catalog of Angular-specific code smells and presents an automated static analysis tool with proven high detection accuracy.
Findings
High detection accuracy above 0.88 for all smells
F1-scores ranged from 0.89 to 1.00
Identified recurring issues like component overloading and duplicated logic
Abstract
Angular is one of the most widely adopted frameworks for developing large-scale, dynamic web applications. As projects increase in scope and complexity, developers face growing challenges in managing architecture and maintaining clean, modular code. These challenges often lead to design flaws, commonly referred to as code smells. While React-specific smells have been cataloged in prior studies, limited knowledge exists regarding Angular-specific smells and how they manifest. This study investigates Angular code smells through a grey literature review, consolidating community knowledge and technical discussions. From the collected sources, 11 distinct Angular code smells were identified, 6 of which also occur in React-based systems, suggesting that some issues are cross-framework. Each smell was analyzed, exemplified, and grouped according to its technical characteristics. Based on the…
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.
