CloverDiff
A tool to create a diff of two clover.xml files
Loading...
Searching...
No Matches
Wikimedia\CloverDiff\CloverXml Class Reference

Represents a clover.xml file. More...

Public Member Functions

 __construct (string $fname)
 
 setRounding (bool $rounding)
 Enable/disable rounding abilities.
 
 getFiles (int $mode=self::PERCENTAGE)
 

Public Attributes

const PERCENTAGE = 1
 Count percentage covered.
 
const LINES = 2
 Return (un)covered lines.
 
const METHODS = 3
 Count coverage status of classes and functions.
 

Detailed Description

Represents a clover.xml file.

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\CloverDiff\CloverXml::__construct ( string $fname)
Parameters
string$fnameFilename
Exceptions
InvalidArgumentException

Member Function Documentation

◆ getFiles()

Wikimedia\CloverDiff\CloverXml::getFiles ( int $mode = self::PERCENTAGE)
Parameters
int$mode
Returns
array

◆ setRounding()

Wikimedia\CloverDiff\CloverXml::setRounding ( bool $rounding)

Enable/disable rounding abilities.

Parameters
bool$rounding

The documentation for this class was generated from the following file: