Lines 0.00% 0 / 4
Branches 0.00% 0 / 4
Paths 0.00% 0 / 2
Functions and Methods 0.00% 0 / 1
Classes and Traits n/a 0 / 0
Covered by tests of size
Name Lines Branches Paths Functions and Methods CRAP Classes and Traits
foo 0.00% 0 / 4 0.00% 0 / 4 0.00% 0 / 2 0.00% 0 / 1 6
Foo n/a 0 / 0 n/a 0 / 0 n/a 0 / 0 n/a 0 / 0 0 n/a 0 / 0
1<?php
2/**
3 * Represents foo.
4 */
5class Foo
6{
7}
8
9/**
10 * @param mixed $bar
11 */
12function &foo($bar)
13{
14    $baz = function () {};
15    $a   = true ? true : false;
16    $b   = "{$a}";
17    $c   = "${b}";
18}

Paths

Below are the source code lines that represent each code path as identified by Xdebug. Please note a path is not necessarily coterminous with a line, a line may contain multiple paths and therefore show up more than once. Please also be aware that some paths may include implicit rather than explicit branches, e.g. an if statement always has an else as part of its logical flow even if you didn't write one.

foo 0/2

#BranchesStatusTests
1L12L15L15Not covered
2L12L15L15Not covered
%A

{closure:%ssource_without_namespace.php:14-14} 0/1

#BranchesStatusTests
1L14Not covered
%A

{main} 1/1

#BranchesStatusTests
1L19Covered
%A