arrow
Return

A study on correlations between architectural smells and design patterns

delete2021-08-01
delete6
PRE
AI
I
Ilaria Pigazzini *
F
Francesca Arcelli Fontana
B
Bartosz Walter
DOI:10.1016/j.jss.2021.110984delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Design patterns are recommended solutions for typical software design problems, with an extensively studied and documented impact on various quality factors. Flaws in design at a higher levels of abstraction are manifested in architectural smells. Some of those smells, similarly to code smells, can reduce the expected advantages of design patterns or even prevent their proper implementation. In this paper we study if and how design patterns and architectural smells are related, and how this knowledge could be exploited in practice. We present an empirical study with an analysis of 16 design patterns and 3 architectural smells in 60 open source Java systems. We analyze their diffuseness and correlation, and we extract association rules that describe their presence and dependencies. We demonstrate that there exist relationships between architectural smells and design patterns, both at the class and package levels. Some smells appear falsely positive, as they result from conscious decisions made by programmers, while the application of some patterns can be a cause of certain smells. Our results provide evidence that design patterns and architectural smells are related and affect each other. With knowledge about the relationships, programmers can avoid the side effects of applying some design patterns. (C) 2021 Elsevier Inc. All rights reserved.
Keywords:
Architectural smells
Design patterns
Architectural smells and design patterns
relationships
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Journal of Systems and Software cover
Journal of Systems and Software
IF:
4.1
Papers:
5.4K
Citations:
8.4K

Organization

P
Poznan University of Technology
Scholars:
4.4K
Papers: 4.1K
Citations: 3
U
university of milano-bicocca
Scholars:
2.0W
Papers: 1.5W
Citations: 22