In this book the author identify the detailed skeleton of automatic detection tools for code smell that can help and contribute researchers and practitioners further to improve detection techniques and tools. In the book Code smell detection techniques were discussed which give the practitioner, the ability to manipulate the available metrics and threshold values based on the project context. And also an overview of available automatic code smell detection tools is given regarding to what kind of smell is detected by the tool, and the different types of techniques used to detect code smell. In this book around three automatic code smell detection tool were experimentally evaluated and their result were discussed. Finally to overcome some of the challenges faced in using the already built detection tools a Metric based automatic detection techniques were proposed and ZSmell- an Eclipse plugin automatic detection tool were developed as a prototype which implements the proposed technique.