You are here

public function PHP_CodeCoverage_Report_Node_File::getNumFunctions in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Node/File.php \PHP_CodeCoverage_Report_Node_File::getNumFunctions()

Returns the number of functions.

Return value

int

Overrides PHP_CodeCoverage_Report_Node::getNumFunctions

File

vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Node/File.php, line 323

Class

PHP_CodeCoverage_Report_Node_File
Represents a file in the code coverage information tree.

Code

public function getNumFunctions() {
  return count($this->functions);
}