CLEAN++: Code Smells Extraction for C++.

MSR(2023)

引用 0|浏览6
暂无评分
摘要
The extraction of features is an essential step in the process of mining software repositories. An important feature that has been actively studied in the field of mining software repositories is bad code smells. Bad code smells are patterns in the source code that indicate an underlying issue in the design and implementation of the software. Several tools have been proposed to extract code smells. However, currently, there are no tools that extract a significant number of code smells from software written in C++. Therefore, we propose CLEAN(++) (Code smeLls ExtrActioN for C++) [1]. It is an extension of a robust static code analysis tool that implements 35 code smells. To evaluate CLEAN(++), we ran it over 44 open-source projects and wrote test cases to validate each code smell. Also, we converted the test cases to Java and used two Java tools to validate the effectiveness of our tool. In the end, we confirmed that the CLEAN(++) is successful at detecting code smells. The tool is available at https://github.com/Tomma94/CLEAN-Plus-Plus.
更多
查看译文
关键词
Code Smells,Open Source,Mining Software Repositories,C++,Static Analysis Tool
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要