DT : a detection tool to automatically detect code smell in software project

Context: Code smell can make the decline of code quality. Code smell is not a bug, and also can't make system to run exceptionally. It just can make some difficulties for software developers to understand and maintain the source code of projects, and then cause unnecessary maintenance costs. Objective: We try to more accurately detect code smell. Method: We put forward our smell detection tool: DT for short. We use DT to detect eleven code smells through detecting two kinds of projects: lab project, industrial project. Result: We get good results by using our Smell Detection Tool (DT), comparing with some famous detection tools: Checkstyle, PMD, JDeodorant and iPlasma. Conclusion: Our method Smell Detection Tool (DT) can be used to detect 11 kinds of code smell, In the future, we will go on detecting more code smells that can't be detected, and then do a survey about code smell among the software developers and maintainers.

[1]  Cristina Marinescu,et al.  iPlasma: An Integrated Platform for Quality Assessment of Object-Oriented Design , 2005, ICSM.

[2]  Audris Mockus,et al.  Quantifying the Effect of Code Smells on Maintenance Effort , 2013, IEEE Transactions on Software Engineering.

[3]  Alexander Chatzigeorgiou,et al.  JDeodorant: Identification and Removal of Type-Checking Bad Smells , 2008, 2008 12th European Conference on Software Maintenance and Reengineering.

[4]  Mauricio A. Saca Refactoring improving the design of existing code , 2017, 2017 IEEE 37th Central America and Panama Convention (CONCAPAN XXXVII).

[5]  Stefan Slinger Code Smell Detection in Eclipse , 2005 .

[6]  Leon Moonen,et al.  Java quality assurance by detecting code smells , 2002, Ninth Working Conference on Reverse Engineering, 2002. Proceedings..