tasks/ext/coverage/CoverageSetupTask.php

Show: inherited
Table of Contents

$Id: CoverageSetupTask.php 1354 2011-11-01 14:12: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.

\CoverageSetupTask

Package: phing\tasks\ext\coverage

Initializes a code coverage database

Parent(s)
\Task < \ProjectComponent
Author
Michiel Rook  
Since
2.1.0  
Version
$Id: CoverageSetupTask.php 1354 2011-11-01 14:12:42Z mrook $  

Properties

Propertyprivate  $classpath= 'NULL'

the classpath to use (optional)

Default valueNULLDetails
Type
n/a
Propertyprivate  $database= '"coverage.db"'

the filename of the coverage database

Default value"coverage.db"Details
Type
n/a
Propertyprivate  $filelists= 'array()'

Any filelists of files containing the .php filenames

Default valuearray()Details
Type
n/a
Propertyprivate  $filesets= 'array()'

the list of filesets containing the .php filename rules

Default valuearray()Details
Type
n/a

Methods

methodpublicaddFileSet( \FileSet $fileset ) : void

Add a new fileset containing the .php files to process

Parameters
Name Type Description
$fileset \FileSet

the new fileset containing .php files

methodpubliccreateClasspath( ) : void

methodpubliccreateFileList( ) : \FileList

Supports embedded element.

Returns
Type Description
\FileList
methodpublicgetDescription( ) : void

methodprivategetFilenames( ) : array

Iterate over all filesets and return the filename of all files.

Returns
Type Description
array an array of (basedir, filenames) pairs
methodpublicgetLocation( ) : void

methodpublicgetOwningTarget( ) : void

methodpublicgetProject( ) : void

methodprotectedgetRegisterSlot( ) : void

methodpublicgetRuntimeConfigurableWrapper( ) : void

methodpublicgetTaskName( ) : void

methodpublicgetTaskType( ) : void

methodpublicinit( ) : void

methodpubliclog( ) : void

methodpublicmain( ) : void

methodpublicmaybeConfigure( ) : void

methodpublicperform( ) : void

methodpublicsetClasspath(  $classpath ) : void

Parameters
Name Type Description
$classpath
methodpublicsetDatabase( string $database ) : void

Sets the filename of the coverage database to use

Parameters
Name Type Description
$database string

the filename of the database

methodpublicsetDescription( ) : void

methodpublicsetLocation( ) : void

methodpublicsetOwningTarget( ) : void

methodpublicsetProject( ) : void

methodpublicsetRuntimeConfigurableWrapper( ) : void

methodpublicsetTaskName( ) : void

methodpublicsetTaskType( ) : void

Documentation was generated by DocBlox 0.17.1.