Refactoring measurements