![]() |
Source Code Coverage |
Designed for use with PHPUnit2, Xdebug and Phing. |
Methods: 2 | LOC: 26 | Statements: 5 |
Legend: | executednot executeddead code |
Source file | Statements | Methods | Total coverage | |||
---|---|---|---|---|---|---|
HelloWorld.php | 40.0% | 50.0% | 42.9% |
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 2010-11-23T21:36:07+01:00 |