301. Inter-smell relations in industrial and open source systems: A replication and comparative analysis
- Author
-
Koschke, R, Krinke, J, Robillard, M, Yamashita, A, Zanoni, M, ARCELLI FONTANA, F, Walter, B, Walter, B., ZANONI, MARCO, ARCELLI FONTANA, FRANCESCA, Koschke, R, Krinke, J, Robillard, M, Yamashita, A, Zanoni, M, ARCELLI FONTANA, F, Walter, B, Walter, B., ZANONI, MARCO, and ARCELLI FONTANA, FRANCESCA
- 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.
- Published
- 2015