mageekguy\atoum\iterators\filters\recursives\atoum\source: lines coverage

96% of 45

OPs

100% of 8

Lines

83% of 12

Branches

75% of 4

Paths
Method OPs OPs % Lines Line % Branches Branches % Paths Path %
mageekguy\atoum\iterators\filters\recursives\atoum\source::accept() 45 96% 8 100% 12 83% 4 75%
#
1
<?php
2

                    
3
namespace mageekguy\atoum\iterators\filters\recursives\atoum;
4

                    
5
use
6
	mageekguy\atoum\iterators\filters\recursives
7
;
8

                    
9
class source extends recursives\dot
10
{
11
	public function accept()100%
12
	{
13
		switch ($this->getInnerIterator()->current()->getBasename())
14
		{
15
			case 'GPATH':
16
			case 'GRTAGS':
17
			case 'GTAGS':
18
				return false;
19

                    
20
			default:
21
				return parent::accept();
22
		}
23
	}
24
}