4.4 Article

An empirical investigation on the relationship between design and architecture smells

Journal

EMPIRICAL SOFTWARE ENGINEERING
Volume 25, Issue 5, Pages 4020-4068

Publisher

SPRINGER
DOI: 10.1007/s10664-020-09847-2

Keywords

Maintainability; Code quality; Code smells; Architecture smells; Design smells; Inter-smell relationships; Collocation; Correlation; Causality; Refactoring

Funding

  1. seneca project, Marie Skodowska-Curie Innovative Training Networks (itn-eid) [642954]
  2. Marie Curie Actions (MSCA) [642954] Funding Source: Marie Curie Actions (MSCA)

Ask authors/readers for more resources

Context: Architecture of a software system represents the key design decisions and therefore its quality plays an important role to keep the software maintainable. Code smells are indicators of quality issues in a software system and are classified based on their granularity, scope, and impact. Despite a plethora of existing work on smells, a detailed exploration of architecture smells, their characteristics, and their relationships with smells in other granularities is missing. Objective: The paper aims to study architecture smells characteristics, investigate correlation, collocation, and causation relationships between architecture and design smells. Method: We implement smell detection support for seven architecture smells. We mine 3 073 open-source repositories containing more than 118 million lines of C# code and empirically investigate the relationships between seven architecture and 19 design smells. Results: We find that smell density does not depend on repository size. Cumulatively, architecture smells are highly correlated with design smells. Our collocation analysis finds that the majority of design and architecture smell pairs do not exhibit collocation. Finally, our causality analysis reveals that design smells cause architecture smells.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.4
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available