Risk-Based Code Smells Detection Tool

Walid Abdelmoez, Essam Kosba, Ali Falah Iesa · International Conference on Computing Technology and Information Management · 2014

In order to maintain quality of software products, we need to perform refactoring regularly. Code smells detection is an important step to beable to successfully conduct software refactoring. In this paper, we propose to use risk concept in assessing code smells detected in the code. As aproof of concept, we developed an automated risk based code smells detection tool. We use the tool to identify problems in a C# case study. Codesmells, such as Long Method, Long Parameter list, Message Chain and Empty Catch have been detected in the case study. Furthermore, risk factorlevel has been qualitatively associated (hi, low, Medium) with each code smell based on the frequency of occurrence and the severity of eachcode smell.

Read the paper · More papers on PaperTik