PHPCoverage Code
Status: Beta
Brought to you by:
pnimish
--- a/trunk/samples/local/codeCoverageMain.php +++ b/trunk/samples/local/codeCoverageMain.php @@ -27,14 +27,11 @@ $reporter = new HtmlCoverageReporter("Code Coverage Report", "", "report"); $includePaths = array("."); - $excludePaths = array("codeCoverageMain.php"); + $excludePaths = array("codeCoverageMain.php", "test_driver.php"); $cov = new CoverageRecorder($includePaths, $excludePaths, $reporter); $cov->startInstrumentation(); - include "sample.php"; - include "sample2.php"; - include "sample3.php"; - include "sample4.php"; + include "test_driver.php"; $cov->stopInstrumentation(); $cov->generateReport();