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