public/phpmyadmin/vendor/codacy/coverage/src/Codacy/Coverage/Parser/CloverParser.php
/**
     * Extracts basic information about coverage report and delegates
     * more detailed extraction work to _makeFileReports() method.
     * @return CoverageReport $report The CoverageReport object
     */
Extracts basic information about coverage report and delegates
more detailed extraction work to _makeFileReports() method.
Extracts basic information about coverage report and delegates more detailed extraction work to _makeFileReports () method .
public function makeReport()
    {
        $project = $this->element->project;
        $projectMetrics = $project->metrics;
        $coveredStatements = intval($projectMetrics['coveredstatements']);
        $statementsTotal = intval($projectMetrics['statements']);
        $reportTotal = round($this->safeDivision($coveredStatements, $statementsTotal) * 100);
        $fileReports = $this->makeFileReports($project);
        $report = new CoverageReport($reportTotal, $fileReports);
        return $report;
    }
public function makeReport ( ) { $ project = $ this -> element -> project ; $ projectMetrics = $ project -> metrics ; $ coveredStatements = intval ( $ projectMetrics [ 'coveredstatements' ] ) ; $ statementsTotal = intval ( $ projectMetrics [ 'statements' ] ) ; $ reportTotal = round ( $ this -> safeDivision ( $ coveredStatements , $ statementsTotal ) * 100 ) ; $ fileReports = $ this -> makeFileReports ( $ project ) ; $ report = new CoverageReport ( $ reportTotal , $ fileReports ) ; return $ report ; }
Extracts basic information about coverage report and delegates
 more detailed extraction work to _makeFileReports() method.
Extracts basic information about coverage report and delegates more detailed extraction work to _makeFileReports () method .