Code Coverage for %ssource_with_ignore.php

Lines 100.00% 1 / 1
Functions and Methods 100.00% 1 / 1
Classes and Traits n/a 0 / 0

Name | Lines | Functions and Methods | CRAP | Classes and Traits
--- | --- | --- | --- | ---
baz |  | n/a | 0 / 0 |  | n/a | 0 / 0 | 1 |
Foo |  | n/a | 0 / 0 |  | n/a | 0 / 0 | 1 |  | n/a | 0 / 0
bar |  | n/a | 0 / 0 |  | n/a | 0 / 0 | 1 |
Bar |  | n/a | 0 / 0 |  | n/a | 0 / 0 | 1 |  | n/a | 0 / 0
foo |  | n/a | 0 / 0 |  | n/a | 0 / 0 | 1 |

1 |  | <?php
2 |  | if ($neverHappens) {
3 |  | // @codeCoverageIgnoreStart
4 |  | print '*';
5 |  | // @codeCoverageIgnoreEnd
6 |  | }
7 |  |
8 |  | /**
9 |  | * @codeCoverageIgnore
10 |  | */
11 |  | class Foo
12 |  | {
13 |  | public function bar()
14 |  | {
15 |  | }
16 |  | }
17 |  |
18 |  | class Bar
19 |  | {
20 |  | /**
21 |  | * @codeCoverageIgnore
22 |  | */
23 |  | public function foo()
24 |  | {
25 |  | }
26 |  | }
27 |  |
28 |  | function baz()
29 |  | {
30 |  | print '*'; // @codeCoverageIgnore
31 |  | }
32 |  |
33 |  | interface Bor
34 |  | {
35 |  | public function foo();
36 |  | }
37 |  |
38 |  | // @codeCoverageIgnoreStart
39 |  | print '
40 |  | Multiline
41 |  | ';
42 |  | // @codeCoverageIgnoreEnd

Back to the top