refactoring evaluation