/** * Generates a Text summary of the coverage data. * * @param array $coverage Array of coverage data. * @return string */ public function paintCoverage($coverage) { $file = dirname(dirname(__FILE__)) . '/coverage/text_coverage_report.php'; include $file; $reporter = new TextCoverageReport($coverage, $this); echo $reporter->report(); }
/** * Generates a Text summary of the coverage data. * * @param array $coverage Array of coverage data. * @return string */ public function paintCoverage($coverage) { $reporter = new TextCoverageReport($coverage, $this); echo $reporter->report(); }