Title :
Inter-smell relations in industrial and open source systems: A replication and comparative analysis
Author :
Aiko Yamashita;Marco Zanoni;Francesca Arcelli Fontana;Bartosz Walter
Author_Institution :
Department of Information Technology, Oslo and Akershus University College of Applied Sciences, Norway
Abstract :
The presence of anti-patterns and code smells can affect adversely software evolution and quality. Recent work has shown that code smells that appear together in the same file (i.e., collocated smells) can interact with each other, leading to various types of maintenance issues and/or to the intensification of negative effects. It has also been found that code smell interactions can occur across coupled files (i.e., coupled smells), with comparable negative effects as the interaction of same-file (collocated) smells. Different inter-smell relations have been described in previous work, yet only few studies have evaluated them empirically. This study attempts to replicate the findings from previous work on inter-smell relations by analyzing larger systems, and by including both industrial and open source ones. We also include the analysis of coupled smells in addition to collocated smells, to achieve a more complete picture of inter-smell relations. Our results suggest that if coupled smells are not considered, one may risk increasing the number of false negatives when analysing inter-smells. A major finding is that patterns of inter-smell relations vary between open source and industrial systems, suggesting that contextual variables should be considered in further studies on code smells.
Keywords :
"Yttrium","Maintenance engineering","Principal component analysis","Correlation","Software","Measurement","Surgery"
Conference_Titel :
Software Maintenance and Evolution (ICSME), 2015 IEEE International Conference on
DOI :
10.1109/ICSM.2015.7332458