refactorings, sample metrics output