Refactoring statistics plugin