public function PHP_CodeCoverage_Report_Node::getNumTestedClassesAndTraits in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Node.php \PHP_CodeCoverage_Report_Node::getNumTestedClassesAndTraits()
Returns the number of tested classes and traits.
@since Method available since Release 1.2.0
Return value
int
1 call to PHP_CodeCoverage_Report_Node::getNumTestedClassesAndTraits()
- PHP_CodeCoverage_Report_Node::getTestedClassesAndTraitsPercent in vendor/
phpunit/ php-code-coverage/ src/ CodeCoverage/ Report/ Node.php - Returns the percentage of traits that has been tested.
File
- vendor/
phpunit/ php-code-coverage/ src/ CodeCoverage/ Report/ Node.php, line 226
Class
- PHP_CodeCoverage_Report_Node
- Base class for nodes in the code coverage information tree.
Code
public function getNumTestedClassesAndTraits() {
return $this
->getNumTestedClasses() + $this
->getNumTestedTraits();
}