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