mageekguy\atoum\report\fields\runner\atoum\phing: lines coverage

100% of 42

OPs

100% of 1

Lines

100% of 8

Branches

50% of 4

Paths
Method OPs OPs % Lines Line % Branches Branches % Paths Path %
mageekguy\atoum\report\fields\runner\atoum\phing::__toString() 42 100% 1 100% 8 100% 4 50%
#
1
<?php
2

                    
3
namespace mageekguy\atoum\report\fields\runner\atoum;
4

                    
5
use
6
	mageekguy\atoum\report
7
;
8

                    
9
class phing extends report\fields\runner\atoum\cli
10
{
11
	public function __toString()100%
12
	{
13
		return ($this->author === null || $this->version === null ? '' : $this->prompt . $this->colorizer->colorize(sprintf($this->locale->_("Atoum version: %s \nAtoum path: %s \nAtoum author: %s"), $this->version, $this->path, $this->author)));
14
	}
15
}