# tasks/ext/coverage/CoverageReportTransformer.php

$Id: CoverageReportTransformer.php 1387 2011-12-10 11:05:25Z mrook $

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

This software consists of voluntary contributions made by many individuals and is licensed under the LGPL. For more information please see http://phing.info.

## \CoverageReportTransformer
jump to top

Package: phing\tasks\ext\coverage

Transform a Phing/Xdebug code coverage xml report.

The default transformation generates an html report in framed style.

Author
  Michiel Rook
Since
  2.1.0
Version
  $Id: CoverageReportTransformer.php 1387 2011-12-10 11:05:25Z mrook $

### Properties

`$document= 'NULL'`
Default value `NULL` Details

Type
  n/a

`$styleDir= '""'`
Default value`""`Details

Type
  n/a

`$task= 'NULL'`
Default value `NULL` Details

Type
  n/a

`$title= '""'`

title of the project, used in the coverage report

Default value`""`Details

Type
  n/a

`\PhingFile $toDir= '""'`

Default value`""`Details

Type
  \PhingFile

`boolean $useSortTable= 'false'`

Whether to use the sorttable JavaScript library, defaults to false See {@link http://www.kryogenix.org/code/browser/sorttable/)}

Default value `false` Details

Type
  boolean

### Methods

`__construct( $task ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$task |  |

`getStyleSheet( ) : void`

`setStyleDir( $styleDir ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$styleDir |  |

`setTitle( $title ) : void`

Setter for title parameter

Parameters

Name | Type | Description
--- | --- | ---
$title |  |

`setToDir( $toDir ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$toDir |  |

`setUseSortTable( boolean $useSortTable ) : void`

Sets whether to use the sorttable JavaScript library, defaults to false See {@link http://www.kryogenix.org/code/browser/sorttable/)}

Parameters

Name | Type | Description
--- | --- | ---
$useSortTable | boolean |

`setXmlDocument( $document ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$document |  |

`transform( ) : void`

Documentation was generated by DocBlox 0.17.1.