![]() |
Source Code Coverage |
| Designed for use with PHPUnit, Xdebug and Phing. |
| Methods: 2 | LOC: 26 | Statements: 5 |
| Legend: | executednot executeddead code |
| Source file | Statements | Methods | Total coverage | |||
|---|---|---|---|---|---|---|
| HelloWorld.php | 20.0% | 50.0% | 28.6% | |||
| 1 | <?php |
|
| 2 | ||
| 3 | /** |
|
| 4 | * The Hello World class! |
|
| 5 | * |
|
| 6 | * @author Michiel Rook |
|
| 7 | * @version $Id: HelloWorld.php 552 2009-08-29 12:18:13Z mrook $ |
|
| 8 | * @package hello.world |
|
| 9 | */ |
|
| 10 | class HelloWorld |
|
| 11 | { |
|
| 12 | public function foo($silent = true) |
|
| 13 | { |
|
| 14 | if ($silent) { |
|
| 15 | return; |
|
| 16 | } |
|
| 17 | return 'foo'; |
|
| 18 | } |
|
| 19 | ||
| 20 | function sayHello() |
|
| 21 | { |
|
| 22 | 1 | return "Hello World!"; |
| 23 | } |
|
| 24 | }; |
|
| 25 | ||
| 26 | ?> |
| Report generated at 2011-05-30T14:06:32+02:00 |