Clears collected code coverage data.
File
- drupal/core/vendor/phpunit/php-code-coverage/PHP/CodeCoverage.php, line 164
Class
- PHP_CodeCoverage
- Provides collection functionality for PHP code coverage information.
Code
public function clear() {
$this->currentId = NULL;
$this->data = array();
$this->tests = array();
}