Abstract
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.
Original language | English |
---|---|
Title of host publication | Proceedings - 2023 IEEE/ACM 20th International Conference on Mining Software Repositories, MSR 2023 |
Publisher | Institute of Electrical and Electronics Engineers Inc. |
Pages | 441-445 |
Number of pages | 5 |
ISBN (Electronic) | 9798350311846 |
DOIs | |
State | Published - 2023 |
Event | 20th IEEE/ACM International Conference on Mining Software Repositories, MSR 2023 - Melbourne, Australia Duration: 15 May 2023 → 16 May 2023 |
Publication series
Name | Proceedings - 2023 IEEE/ACM 20th International Conference on Mining Software Repositories, MSR 2023 |
---|
Conference
Conference | 20th IEEE/ACM International Conference on Mining Software Repositories, MSR 2023 |
---|---|
Country/Territory | Australia |
City | Melbourne |
Period | 15/05/23 → 16/05/23 |
Bibliographical note
Publisher Copyright:© 2023 IEEE.
Funding
This research was funded by the ministry of science grant No. 3-17386.
Funders | Funder number |
---|---|
Ministry of Science, ICT and Future Planning | 3-17386 |
Keywords
- C++
- Code Smells
- Mining Software Repositories
- Open Source
- Static Analysis Tool