Bad smells of gang of four design patterns: A decade systematic literature review
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 b...
Saved in:
Main Authors: | , , |
---|---|
Format: | Article |
Published: |
MDPI
2021
|
Subjects: | |
Online Access: | http://eprints.um.edu.my/27066/ |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
id |
my.um.eprints.27066 |
---|---|
record_format |
eprints |
spelling |
my.um.eprints.270662022-03-11T05:16:08Z http://eprints.um.edu.my/27066/ Bad smells of gang of four design patterns: A decade systematic literature review Almadi, Sara H. S. Hooshyar, Danial Ahmad, Rodina Q Science (General) T Technology (General) 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. MDPI 2021-09 Article PeerReviewed 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 https://doi.org/10.3390/su131810256 <https://doi.org/10.3390/su131810256>. 10.3390/su131810256 |
institution |
Universiti Malaya |
building |
UM Library |
collection |
Institutional Repository |
continent |
Asia |
country |
Malaysia |
content_provider |
Universiti Malaya |
content_source |
UM Research Repository |
url_provider |
http://eprints.um.edu.my/ |
topic |
Q Science (General) T Technology (General) |
spellingShingle |
Q Science (General) T Technology (General) Almadi, Sara H. S. Hooshyar, Danial Ahmad, Rodina Bad smells of gang of four design patterns: A decade systematic literature review |
description |
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. |
format |
Article |
author |
Almadi, Sara H. S. Hooshyar, Danial Ahmad, Rodina |
author_facet |
Almadi, Sara H. S. Hooshyar, Danial Ahmad, Rodina |
author_sort |
Almadi, Sara H. S. |
title |
Bad smells of gang of four design patterns: A decade systematic literature review |
title_short |
Bad smells of gang of four design patterns: A decade systematic literature review |
title_full |
Bad smells of gang of four design patterns: A decade systematic literature review |
title_fullStr |
Bad smells of gang of four design patterns: A decade systematic literature review |
title_full_unstemmed |
Bad smells of gang of four design patterns: A decade systematic literature review |
title_sort |
bad smells of gang of four design patterns: a decade systematic literature review |
publisher |
MDPI |
publishDate |
2021 |
url |
http://eprints.um.edu.my/27066/ |
_version_ |
1735409495038754816 |
score |
13.209306 |