function Directory::numberOfTestedFunctions
Overrides AbstractNode::numberOfTestedFunctions
File
-
vendor/
phpunit/ php-code-coverage/ src/ Node/ Directory.php, line 358
Class
- Directory
- @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage
Namespace
SebastianBergmann\CodeCoverage\NodeCode
public function numberOfTestedFunctions() : int {
if ($this->numTestedFunctions === -1) {
$this->numTestedFunctions = 0;
foreach ($this->children as $child) {
$this->numTestedFunctions += $child->numberOfTestedFunctions();
}
}
return $this->numTestedFunctions;
}