public function PHP_CodeCoverage_Report_Node::getLineExecutedPercent

Returns the percentage of executed lines.

Parameters

boolean $asString:

Return value

integer

File

drupal/core/vendor/phpunit/php-code-coverage/PHP/CodeCoverage/Report/Node.php, line 241

Class

PHP_CodeCoverage_Report_Node
Base class for nodes in the code coverage information tree.

Code

public function getLineExecutedPercent($asString = TRUE) {
  return PHP_CodeCoverage_Util::percent($this
    ->getNumExecutedLines(), $this
    ->getNumExecutableLines(), $asString);
}