Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
100.00% |
2 / 2 |
|
100.00% |
0 / 0 |
CRAP | |
50.00% |
1 / 2 |
| baz | |
100.00% |
1 / 1 |
0 | |
100.00% |
0 / 0 |
|||
| Foo | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
0 / 0 |
| bar | |
100.00% |
1 / 1 |
1 | |
100.00% |
0 / 0 |
|||
| Bar | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
0 / 0 |
| foo | |
100.00% |
1 / 1 |
1 | |
100.00% |
0 / 0 |
|||
| <?php | |
| if ($neverHappens) { | |
| // @codeCoverageIgnoreStart | |
| print '*'; | |
| // @codeCoverageIgnoreEnd | |
| } | |
| /** | |
| * @codeCoverageIgnore | |
| */ | |
| class Foo | |
| { | |
| public function bar() | |
| { | |
| } | |
| } | |
| class Bar | |
| { | |
| /** | |
| * @codeCoverageIgnore | |
| */ | |
| public function foo() | |
| { | |
| } | |
| } | |
| function baz() | |
| { | |
| print '*'; // @codeCoverageIgnore | |
| } | |
| interface Bor | |
| { | |
| public function foo(); | |
| } |