PHP_CodeCoverage_Report_XML
in package
Tags
Table of Contents
- $project : PHP_CodeCoverage_Report_XML_Project
- $target : string
- process() : mixed
- initTargetDirectory() : mixed
- processDirectory() : mixed
- processFile() : mixed
- processFunction() : mixed
- processTests() : mixed
- processUnit() : mixed
- setTotals() : mixed
Properties
$project
private
PHP_CodeCoverage_Report_XML_Project
$project
$target
private
string
$target
Methods
process()
public
process(PHP_CodeCoverage $coverage, mixed $target) : mixed
Parameters
- $coverage : PHP_CodeCoverage
- $target : mixed
Return values
mixed —initTargetDirectory()
private
initTargetDirectory(mixed $dir) : mixed
Parameters
- $dir : mixed
Return values
mixed —processDirectory()
private
processDirectory(PHP_CodeCoverage_Report_Node_Directory $directory, PHP_CodeCoverage_Report_XML_Node $context) : mixed
Parameters
- $directory : PHP_CodeCoverage_Report_Node_Directory
- $context : PHP_CodeCoverage_Report_XML_Node
Return values
mixed —processFile()
private
processFile(PHP_CodeCoverage_Report_Node_File $file, PHP_CodeCoverage_Report_XML_Directory $context) : mixed
Parameters
- $file : PHP_CodeCoverage_Report_Node_File
- $context : PHP_CodeCoverage_Report_XML_Directory
Return values
mixed —processFunction()
private
processFunction(mixed $function, PHP_CodeCoverage_Report_XML_File_Report $report) : mixed
Parameters
- $function : mixed
- $report : PHP_CodeCoverage_Report_XML_File_Report
Return values
mixed —processTests()
private
processTests(array<string|int, mixed> $tests) : mixed
Parameters
- $tests : array<string|int, mixed>
Return values
mixed —processUnit()
private
processUnit(mixed $unit, PHP_CodeCoverage_Report_XML_File_Report $report) : mixed
Parameters
- $unit : mixed
- $report : PHP_CodeCoverage_Report_XML_File_Report
Return values
mixed —setTotals()
private
setTotals(PHP_CodeCoverage_Report_Node $node, PHP_CodeCoverage_Report_XML_Totals $totals) : mixed
Parameters
- $node : PHP_CodeCoverage_Report_Node
- $totals : PHP_CodeCoverage_Report_XML_Totals