Although architectural smells are one of the most studied type of architectural technical debt, their impact on maintenance effort has not been thoroughly investigated. Studying this impact would help to understand how much technical debt interest is being paid due to the existence of architecture smells and how this interest can be calculated. This work is a first attempt to address this issue by investigating the relation between architecture smells and source code changes. Specifically, we study whether the frequency and size of changes are correlated with the presence of a selected set of architectural smells. We detect architectural smells using the Arcan tool, which detects architectural smells by building a dependency graph of the system analyzed and then looking for the typical structures of the architectural smells. The findings, based on a case study of 31 open-source Java systems, show that 87% of the analyzed commits present more changes in artifacts with at least one smell, and the likelihood of changing increases with the number of smells. Moreover, there is also evidence to confirm that change frequency increases after the introduction of a smell and that the size of changes is also larger in smelly artifacts. These findings hold true especially in Medium–Large and Large artifacts.

Sas, D., Avgeriou, P., Pigazzini, I., Arcelli Fontana, F. (2022). On the relation between architectural smells and source code changes. JOURNAL OF SOFTWARE, 34(1) [10.1002/smr.2398].

On the relation between architectural smells and source code changes

Pigazzini,I;Arcelli Fontana,F
2022

Abstract

Although architectural smells are one of the most studied type of architectural technical debt, their impact on maintenance effort has not been thoroughly investigated. Studying this impact would help to understand how much technical debt interest is being paid due to the existence of architecture smells and how this interest can be calculated. This work is a first attempt to address this issue by investigating the relation between architecture smells and source code changes. Specifically, we study whether the frequency and size of changes are correlated with the presence of a selected set of architectural smells. We detect architectural smells using the Arcan tool, which detects architectural smells by building a dependency graph of the system analyzed and then looking for the typical structures of the architectural smells. The findings, based on a case study of 31 open-source Java systems, show that 87% of the analyzed commits present more changes in artifacts with at least one smell, and the likelihood of changing increases with the number of smells. Moreover, there is also evidence to confirm that change frequency increases after the introduction of a smell and that the size of changes is also larger in smelly artifacts. These findings hold true especially in Medium–Large and Large artifacts.
Articolo in rivista - Articolo scientifico
Architectural Smells,Technical Debt Interest,Technical debt,Architectural Technical Debt, Empirical Study, Software Repository Mining
English
27-ott-2021
2022
34
1
e2398
reserved
Sas, D., Avgeriou, P., Pigazzini, I., Arcelli Fontana, F. (2022). On the relation between architectural smells and source code changes. JOURNAL OF SOFTWARE, 34(1) [10.1002/smr.2398].
File in questo prodotto:
File Dimensione Formato  
JSEP_2021.pdf

Solo gestori archivio

Tipologia di allegato: Submitted Version (Pre-print)
Dimensione 861.65 kB
Formato Adobe PDF
861.65 kB 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/332145
Citazioni
  • Scopus 7
  • ???jsp.display-item.citation.isi??? 3
Social impact