Refactoring based on Code Inspection