4.4 Article

An approach to prioritize code smells for refactoring

期刊

AUTOMATED SOFTWARE ENGINEERING
卷 23, 期 3, 页码 501-532

出版社

SPRINGER
DOI: 10.1007/s10515-014-0175-x

关键词

Code smells; Refactoring; Software evolution; Design problems

资金

  1. CONICET (Argentina) through PIP Project [112-201101-00078]

向作者/读者索取更多资源

Code smells are a popular mechanism to find structural design problems in software systems. Consequently, several tools have emerged to support the detection of code smells. However, the number of smells returned by current tools usually exceeds the amount of problems that the developer can deal with, particularly when the effort available for performing refactorings is limited. Moreover, not all the code smells are equally relevant to the goals of the system or its health. This article presents a semi-automated approach that helps developers focus on the most critical problems of the system. We have developed a tool that suggests a ranking of code smells, based on a combination of three criteria, namely: past component modifications, important modifiability scenarios for the system, and relevance of the kind of smell. These criteria are complementary and enable our approach to assess the smells from different perspectives. Our approach has been evaluated in two case-studies, and the results show that the suggested code smells are useful to developers.

作者

我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。

评论

主要评分

4.4
评分不足

次要评分

新颖性
-
重要性
-
科学严谨性
-
评价这篇论文

推荐

暂无数据
暂无数据