Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CodeCoverage.php

function CodeCoverage::getData

Returns the collected code coverage data.

File

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

Class

CodeCoverage
Provides collection functionality for PHP code coverage information.

Namespace

SebastianBergmann\CodeCoverage

Code

public function getData(bool $raw = false) : ProcessedCodeCoverageData {
    if (!$raw) {
        if ($this->includeUncoveredFiles) {
            $this->addUncoveredFilesFromFilter();
        }
    }
    return $this->data;
}
RSS feed
Powered by Drupal