arrow
返回

Code smells and their collocations: A large-scale experiment on open-source systems

delete2018-10-01
delete24
PRE
AI
B
Bartosz Walter *
F
Francesca Arcelli Fontana
V
Vincenzo Ferme
DOI:10.1016/j.jss.2018.05.057delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Code smells indicate possible flaws in software design, that could negatively affect system's maintainability. Interactions among smells located in the same classes (i.e., collocated smells) have even more detrimental effect on quality. Extracted frequent patterns of collocated smells could help to understand practical consequences of collocations. In this paper we identify and empirically validate frequent collocations of 14 code smells detected in 92 Java systems, using three approaches: pairwise correlation analysis, PCA and associative rules. To cross validate the results, we used up to 6 detectors for each smell. Additionally, we examine and compare techniques used to extract the relationships. The contribution is three-fold: (1) we identify and empirically validate relationships among the examined code smells on a large dataset that we made publicly available, (2) we discuss how the choice of code smell detectors affects results, and (3) we analyze the impact of software domain on existence of the smell collocations. Additionally, we found that analytical methods we used to discover collocations, are complementary. Smells collocations display recurring patterns that could help prioritizing the classes affected by code smells to be refactored and developing or enhancing detectors exploiting information about collocations. They can also help the developers focusing on classes deserving more maintenance effort.
Keyword:
Code smells
Inter-smell relationships
Smell interaction
Collocated smells
Code smell detectors
Source code quality
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Journal of Systems and Software 封面图
Journal of Systems and Software
IF:
4.1
论文数:
5.5K
被引数:
8.4K

机构

U
Universita della Svizzera Italiana
学者数:
3.3K
论文数: 2.8K
被引数: 3
P
Poznan University of Technology
学者数:
4.4K
论文数: 4.1K
被引数: 3
U
university of milano-bicocca
学者数:
2.0W
论文数: 1.5W
被引数: 22
学者 查看更多机构
引用论文

引用论文

An exploratory study of the impact of antipatterns on class change- and fault-proneness
err2011-08-06
err291
PREAI
errKhomh, Foutse; Di Penta, Massimiliano; Gueheneuc, Yann-Gael; Antoniol, Giuliano
err分享
err收藏
Thin film coating technologies of (Ce,Gd)O2-δ interlayers for application in ceramic high-temperature fuel cells
err2007-02-01
err0
PREAI
errS. Uhlenbruck; N. Jordan; D. Sebold; H.P. Buchkremer; V.A.C. Haanappel; D. Stöver
err分享
err收藏
The effect of schooling on basic cognition in selected nordic countries
err2017-11-30
err0
errOAAI
errBert Jonsson; Maria Waling; Anna S. Olafsdottir; Hanna Lagström; Hege Wergedahl; Cecilia Olsson; Eldbjørg Fossgard; Asle Holthe; Sanna Talvia; Ingibjorg Gunnarsdottir; Agneta Hörnell
err分享
err收藏
学者 查看更多内容