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

Represents changes to coverage. More...

Public Member Functions

 __construct (array $oldFiles, array $newFiles)
 
 getMissingFromOld ()
 Get files that are missing from the old XML file.
 
 getMissingFromNew ()
 Get files that are missing from the new XML file.
 
 getChanged ()
 Get files that are in both, but have different values.
 

Detailed Description

Represents changes to coverage.

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\CloverDiff\Diff::__construct ( array $oldFiles,
array $newFiles )
Parameters
array$oldFilesParsed clover.xml
array$newFilesParsed clover.xml

Member Function Documentation

◆ getChanged()

Wikimedia\CloverDiff\Diff::getChanged ( )

Get files that are in both, but have different values.

Returns
array

◆ getMissingFromNew()

Wikimedia\CloverDiff\Diff::getMissingFromNew ( )

Get files that are missing from the new XML file.

Returns
array

◆ getMissingFromOld()

Wikimedia\CloverDiff\Diff::getMissingFromOld ( )

Get files that are missing from the old XML file.

Returns
array

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