tasks/ext/coverage/CoverageReportTask.php
$Id: CoverageReportTask.php 1289 2011-08-19 07:55:37Z 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.
\CoverageReportTask
Transforms information in a code coverage database to XML
- Parent(s)
- \Task < \ProjectComponent
- Author
- Michiel Rook
- Since
- 2.1.0
- Version
- $Id: CoverageReportTask.php 1289 2011-08-19 07:55:37Z mrook $
Properties

$geshilanguagespath= '""'
the path to the GeSHi language files (optional)
""Details- Type
- n/a
Methods

addClassToPackage(
$classname, $element
)
:
void| Name | Type | Description |
|---|---|---|
| $classname | ||
| $element |

addClassToSubpackage(
string $classname, \DOMNode $element
)
:
voidAdds a class to their subpackage
| Name | Type | Description |
|---|---|---|
| $classname | string | The name of the class |
| $element | \DOMNode | The dom node to append to the subpackage element |
- Author
- Benjamin Schultz

addSubpackageToPackage(
string $packageName, string $subpackageName
)
:
voidAdds a subpackage to their package
| Name | Type | Description |
|---|---|---|
| $packageName | string | The name of the package |
| $subpackageName | string | The name of the subpackage |
- Author
- Benjamin Schultz

getSubpackageElement(
string $subpackageName
)
:
\DOMNode | nullReturns the subpackage element
| Name | Type | Description |
|---|---|---|
| $subpackageName | string | The name of the subpackage |
| Type | Description |
|---|---|
| \DOMNode | null | null when no DOMNode with the given name exists |
- Author
- Benjamin Schultz

transformCoverageInformation(
string $filename, array $coverageInformation
)
:
voidTransforms the coverage information
| Name | Type | Description |
|---|---|---|
| $filename | string | The filename |
| $coverageInformation | array | Array with covergae information |
- Author
- Michiel Rook
- Author
- Benjamin Schultz