Software design inspection is a broad research area encircling technique that assist in different software engineering activities, such as requirement , design , development, testing, deployment, maintenance, reverse engineering etc. Covered methods include study, development and evaluation of multiple approaches for visually analyzing the software system, including their structure, execution behavior, and evolution. Code smells are the surfaces that indicate usually a deeper problem in the system. Code smells are the violation of fundamental design principles. This paper reveals a newly developed tool named, “Code Smell Visualizer” that detect the code smells automatically from java source code. Give refactoring suggestions, perform refactoring of speculative generality.