Scalable detection of software refactoring