refactorings to FailureReport