International Journal of Modern Engineering Research (IJMER)
Day-by-day the complexity levels of software system increasing. Hence more effort is required for software organizations to develop new or rebuild existing system of high quality. Refactoring reduces the cost of software maintenance through changing the internal structure of the source-code to improve the overall design that helps the present and future developers to evolve and understand a system. This paper describes new refactoring methods and metrics along with the existing metrics to identify the characteristics of bad smells "Lazy class" and "Temporary field" through which the developer can be provided with significant guidance to locate bad smells.