You are here

private function PHP_CodeCoverage_Report_XML::processFunction in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/XML.php \PHP_CodeCoverage_Report_XML::processFunction()
1 call to PHP_CodeCoverage_Report_XML::processFunction()
PHP_CodeCoverage_Report_XML::processFile in vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/XML.php

File

vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/XML.php, line 179

Class

PHP_CodeCoverage_Report_XML
@since Class available since Release 2.0.0

Code

private function processFunction($function, PHP_CodeCoverage_Report_XML_File_Report $report) {
  $functionObject = $report
    ->getFunctionObject($function['functionName']);
  $functionObject
    ->setSignature($function['signature']);
  $functionObject
    ->setLines($function['startLine']);
  $functionObject
    ->setCrap($function['crap']);
  $functionObject
    ->setTotals($function['executableLines'], $function['executedLines'], $function['coverage']);
}