Uncovered Lines | ||||
![]() | ||||
|
||||
![]() |
Coverage | ||||||||||||
Classes | Functions / Methods | Lines | ||||||||||
Total |
|
0.00% | 0 / 1 |
|
50.00% | 1 / 2 |
|
85.71% | 6 / 7 | |||
UncoveredLine |
|
0.00% | 0 / 1 |
|
50.00% | 1 / 2 |
|
85.71% | 6 / 7 | |||
function __construct($foo) |
|
0.00% | 0 / 1 |
|
83.33% | 5 / 6 | ||||||
function getFoo() |
|
100.00% | 1 / 1 |
|
100.00% | 1 / 1 |
1 : <?php 2 : class UncoveredLine 3 : { 4 : private $_foo; 5 : 6 : function __construct($foo) 7 : { 8 2 : if ($foo === 'bar') { 9 1 : $this->_foo = $foo; 10 1 : } else { 11 1 : $this->_foo = null; 12 0 : } 13 2 : } 14 : 15 : function getFoo() 16 : { 17 2 : return $this->_foo; 18 : } |
![]() |
Generated by PHPUnit 3.4.2 and Xdebug 2.0.5 using PHP 5.2.10-2ubuntu6.1 at Sat Nov 21 19:13:11 CET 2009. |