Background. Architectural smells and code smells are symptoms of bad code or design that can cause different quality problems, such as faults, technical debt, or difficulties with maintenance and evolution. Some studies show that code smells and architectural smells often appear together in the same file. The correlation between code smells and architectural smells, however, is not clear yet; some studies on a limited set of projects have claimed that architectural smells can be derived from code smells, while other studies claim the opposite. Objective. The goal of this work is to understand whether architectural smells are independent from code smells or can be derived from a code smell or from one category of them. Method. We conducted a case study analyzing the correlations among 19 code smells, six categories of code smells, and four architectural smells. Results. The results show that architectural smells are correlated with code smells only in a very low number of occurrences and therefore cannot be derived from code smells. Conclusion. Architectural smells are independent from code smells, and therefore deserve special attention by researchers, who should investigate their actual harmfulness, and practitioners, who should consider whether and when to remove them.

Arcelli Fontana, F., Lenarduzzi, V., Roveda, R., Taibi, D. (2019). Are architectural smells independent from code smells? An empirical study. THE JOURNAL OF SYSTEMS AND SOFTWARE, 154, 139-156 [10.1016/j.jss.2019.04.066].

Are architectural smells independent from code smells? An empirical study

Arcelli Fontana F.
;
Roveda R.;
2019

Abstract

Background. Architectural smells and code smells are symptoms of bad code or design that can cause different quality problems, such as faults, technical debt, or difficulties with maintenance and evolution. Some studies show that code smells and architectural smells often appear together in the same file. The correlation between code smells and architectural smells, however, is not clear yet; some studies on a limited set of projects have claimed that architectural smells can be derived from code smells, while other studies claim the opposite. Objective. The goal of this work is to understand whether architectural smells are independent from code smells or can be derived from a code smell or from one category of them. Method. We conducted a case study analyzing the correlations among 19 code smells, six categories of code smells, and four architectural smells. Results. The results show that architectural smells are correlated with code smells only in a very low number of occurrences and therefore cannot be derived from code smells. Conclusion. Architectural smells are independent from code smells, and therefore deserve special attention by researchers, who should investigate their actual harmfulness, and practitioners, who should consider whether and when to remove them.
Articolo in rivista - Articolo scientifico
Architectural smells; Code smells; Empirical analysis; Technical debt;
Architectural smells; Code smells; Empirical analysis; Technical debt
English
2019
154
139
156
reserved
Arcelli Fontana, F., Lenarduzzi, V., Roveda, R., Taibi, D. (2019). Are architectural smells independent from code smells? An empirical study. THE JOURNAL OF SYSTEMS AND SOFTWARE, 154, 139-156 [10.1016/j.jss.2019.04.066].
File in questo prodotto:
File Dimensione Formato  
2-Are AS indipendent-JSS-Elsevier-2019.pdf

Solo gestori archivio

Tipologia di allegato: Publisher’s Version (Version of Record, VoR)
Dimensione 1.32 MB
Formato Adobe PDF
1.32 MB Adobe PDF   Visualizza/Apri   Richiedi una copia

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10281/268266
Citazioni
  • Scopus 31
  • ???jsp.display-item.citation.isi??? 23
Social impact