tasks/ext/coverage/CoverageReportTransformer.php

Show: inherited
Table of Contents

$Id: CoverageReportTransformer.php 1315 2011-10-13 07:39:42Z 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

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 1315 2011-10-13 07:39:42Z mrook $  

Properties

Propertyprivate  $document= 'NULL'
Default valueNULLDetails
Type
Propertyprivate  $styleDir= '""'
Default value""Details
Type
Propertyprivate  $task= 'NULL'
Default valueNULLDetails
Type
Propertyprivate  $title= '""'

title of the project, used in the coverage report

Default value""Details
Type
Propertyprivate  $toDir= '""'
Default value""Details
Type
Propertyprivateboolean  $useSortTable= 'false'

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

Default valuefalseDetails
Type
boolean

Methods

methodpublic__construct(  $task ) : void

Parameters
Name Type Description
$task
methodprivategetStyleSheet( ) : void

methodpublicsetStyleDir(  $styleDir ) : void

Parameters
Name Type Description
$styleDir
methodpublicsetTitle(  $title ) : void

Setter for title parameter

Parameters
Name Type Description
$title
methodpublicsetToDir(  $toDir ) : void

Parameters
Name Type Description
$toDir
methodpublicsetUseSortTable( 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
methodpublicsetXmlDocument(  $document ) : void

Parameters
Name Type Description
$document
methodpublictransform( ) : void

Documentation was generated by DocBlox 0.15.1.