Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Directory.php

function Directory::numberOfExecutedPaths

Overrides AbstractNode::numberOfExecutedPaths

File

vendor/phpunit/php-code-coverage/src/Node/Directory.php, line 254

Class

Directory
@internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage

Namespace

SebastianBergmann\CodeCoverage\Node

Code

public function numberOfExecutedPaths() : int {
    if ($this->numExecutedPaths === -1) {
        $this->numExecutedPaths = 0;
        foreach ($this->children as $child) {
            $this->numExecutedPaths += $child->numberOfExecutedPaths();
        }
    }
    return $this->numExecutedPaths;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal