Skip to content

Commit

Permalink
phpcov is no longer part of PHP_CodeCoverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Sep 3, 2011
1 parent 3950d2a commit 56ac9ef
Showing 1 changed file with 0 additions and 37 deletions.
37 changes: 0 additions & 37 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -48,40 +48,3 @@ Using the PHP_CodeCoverage API

$writer = new PHP_CodeCoverage_Report_HTML;
$writer->process($coverage, '/tmp/code-coverage-report');

Using the `phpcov` tool
-----------------------

sb@vmware examples % cat add.php
<?php
$a = 1;
$b = 2;
print $a + $b;

sb@vmware examples % phpcov --clover clover.xml add.php
phpcov 0.9.0 by Sebastian Bergmann.

3

sb@vmware examples % cat clover.xml
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1270365900">
<project timestamp="1270365900">
<file name="/usr/local/src/bytekit-cli/examples/add.php">
<line num="2" type="stmt" count="1"/>
<line num="3" type="stmt" count="1"/>
<line num="4" type="stmt" count="1"/>
<line num="5" type="stmt" count="1"/>
<metrics loc="4" ncloc="4" classes="0" methods="0"
coveredmethods="0" conditionals="0"
coveredconditionals="0" statements="4"
coveredstatements="4" elements="4"
coveredelements="4"/>
</file>
<metrics files="1" loc="4" ncloc="4" classes="0" methods="0"
coveredmethods="0" conditionals="0"
coveredconditionals="0" statements="4"
coveredstatements="4" elements="4"
coveredelements="4"/>
</project>
</coverage>

0 comments on commit 56ac9ef

Please sign in to comment.