Empirical Investigation of the Relationship Between Design Smells and Role Stereotypes
Daniel Ogenrwot, Joyce Nakatumba-Nabende, John Businge, Michel R. V., Chaudron

TL;DR
This study explores how design smells relate to role-stereotypes in software classes, revealing patterns across desktop and mobile apps to improve maintainability and guide refactoring efforts.
Contribution
It introduces an empirical analysis combining statistical and unsupervised learning methods to uncover relationships between design smells and role-stereotypes in real-world software.
Findings
Design smells are more common in desktop applications.
Certain role-stereotypes are more prone to design smells.
Unsupervised learning reveals groups of role-stereotypes with similar design smell patterns.
Abstract
During software development, poor design and implementation choices can detrimentally impact software maintainability. Design smells, recurring patterns of poorly designed fragments, signify these issues. Role-stereotypes denote the generic responsibilities that classes assume in system design. Although the concepts of role-stereotypes and design smells differ, both significantly contribute to the design and maintenance of software systems. Understanding the relationship between these aspects is crucial for enhancing software maintainability, code quality, efficient code review, guided refactoring, and the design of role-specific metrics. This paper employs an exploratory approach, combining statistical analysis and unsupervised learning methods, to understand how design smells relate to role-stereotypes across desktop and mobile applications. Analyzing 11,350 classes from 30 GitHub…
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
TopicsDesign Education and Practice · Digital Communication and Language
