http://phing.info/

Source Code Coverage

Designed for use with PHPUnit2, Xdebug and Phing.

Methods: 2 LOC: 26 Statements: 4

Source file Statements Methods Total coverage
HelloWorld.php 25.0% 50.0% 33.3%
   
1
<?php
2
3
	/**
4
	 * The Hello World class!
5
	 *
6
	 * @author Michiel Rook
7
	 * @version $Id: HelloWorld.php 426 2008-10-28 19:29:49Z mrook $
8
	 * @package hello.world
9
	 */
10
	class HelloWorld
11
	{
12
		public function foo($silent = true)
13
		{
14 0
			if ($silent) {
15 0
				return;
16
			}
17 0
			return 'foo';
18
		}
19
20
		function sayHello()
21
		{
22 1
			return "Hello World!";
23
		}
24
	};
25
26
?>


Report generated at 2009-07-31T20:23:43+02:00