summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-rw-r--r--application/controllers/tools.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/controllers/tools.php b/application/controllers/tools.php
index e90ed6d5f..7808b11cf 100644
--- a/application/controllers/tools.php
+++ b/application/controllers/tools.php
@@ -114,10 +114,10 @@ class Tools extends MY_Controller {
$coverage->merge(unserialize(file_get_contents($file)));
}
- //$writer = new \SebastianBergmann\CodeCoverage\Report\Text();
- //print $writer->process($coverage, 'code-coverage-report');
+ $writer = new \SebastianBergmann\CodeCoverage\Report\Clover();
+ $writer->process($coverage, 'code-coverage-report.xml');
$writer = new \SebastianBergmann\CodeCoverage\Report\Html\Facade();
- print $writer->process($coverage, 'code-coverage-report');
+ $writer->process($coverage, 'code-coverage-report');
print "Report saved to ./code-coverage-report/index.html\n";
}
}