You are here

interface PHP_CodeCoverage_Driver in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/php-code-coverage/src/CodeCoverage/Driver.php \PHP_CodeCoverage_Driver

Interface for code coverage drivers.

@since Class available since Release 1.0.0

Hierarchy

Expanded class hierarchy of PHP_CodeCoverage_Driver

All classes that implement PHP_CodeCoverage_Driver

File

vendor/phpunit/php-code-coverage/src/CodeCoverage/Driver.php, line 16

View source
interface PHP_CodeCoverage_Driver {

  /**
   * @var int
   * @see http://xdebug.org/docs/code_coverage
   */
  const LINE_EXECUTED = 1;

  /**
   * @var int
   * @see http://xdebug.org/docs/code_coverage
   */
  const LINE_NOT_EXECUTED = -1;

  /**
   * @var int
   * @see http://xdebug.org/docs/code_coverage
   */
  const LINE_NOT_EXECUTABLE = -2;

  /**
   * Start collection of code coverage information.
   */
  public function start();

  /**
   * Stop collection of code coverage information.
   *
   * @return array
   */
  public function stop();

}

Members

Namesort descending Modifiers Type Description Overrides
PHP_CodeCoverage_Driver::LINE_EXECUTED constant
PHP_CodeCoverage_Driver::LINE_NOT_EXECUTABLE constant
PHP_CodeCoverage_Driver::LINE_NOT_EXECUTED constant
PHP_CodeCoverage_Driver::start public function Start collection of code coverage information. 2
PHP_CodeCoverage_Driver::stop public function Stop collection of code coverage information. 2