refactoridation, debug et rapport