Refactoring scoring system