Bad smells of gang of four design patterns: A decade systematic literature review

Almadi, Sara H. S. and Hooshyar, Danial and Ahmad, Rodina (2021) Bad smells of gang of four design patterns: A decade systematic literature review. Sustainability, 13 (18). ISSN 2071-1050, DOI

Full text not available from this repository.


Gang of Four (GoF) design patterns are widely approved solutions for recurring software design problems, and their benefits to software quality are extensively studied. However, the occurrence of bad smells in design patterns increases the crisis of degenerating design patterns' structure and behavior. Their occurrences are detrimental to the benefits of design patterns and they influence software sustainability by increasing maintenance costs and energy consumption. Despite the destructive roles of bad smells in such designs, there are an absence of studies systematically reviewing bad smells of GoF design patterns. This study systematically reviews a 10-year state of the art sample, identifying 16 studies investigating this phenomenon. Following a thorough evaluation of the full contents, we observed that the occurrence of bad smells have been investigated in proportion to four granularity levels of analysis: Design level, category level, pattern level, and role level. We identified 28 bad smells, categorized under code smells and grime symptoms, and emphasized their relationship with GoF pattern types and categories. The utilization of design pattern bad smell detection approaches and datasets were also discussed. Consequently, we observed that the research phenomenon is growing intensively, with a prominent focus of studies analyzing code smell occurrences rather than grime occurrences, at various granularity levels. Finally, we uncovered research gaps and areas with significant potentials for future research.

Item Type: Article
Funders: Fundamental Research Grant Scheme (FRGS/FP060-2020)
Uncontrolled Keywords: GoF design patterns; Systematic review; Software engineering; Bad smell; Code smell; Grime; Software sustainability
Subjects: Q Science > Q Science (General)
T Technology > T Technology (General)
Divisions: Faculty of Engineering
Depositing User: Ms Zaharah Ramly
Date Deposited: 11 Mar 2022 05:16
Last Modified: 11 Mar 2022 05:16

Actions (login required)

View Item View Item