A simple grep for report_metrics should do the trick. Will want to remove references from the code and the docs
But be warned the code might not actually be there, it might merely be a probability wave, and removing it might only cause it to "re-appear" somewhere else ;)