classes/phing/tasks/ext/coverage/CoverageSetupTask.php

\CoverageSetupTask

Initializes a code coverage database

Use {@link Project#createTask} to register a new Task.

Extends from
\Task
author
Michiel Rook
copyright
2001,2002 THYRELL. All rights reserved
package
phing.tasks.ext.coverage
since
2.1.0
version
$Id: CoverageSetupTask.php 1182 2011-06-22 13:11:38Z mrook $

Properties

Propertyprivate  $classpath= 'NULL'

the classpath to use (optional)

Default valueNULLDetails
Type
Propertyprivate  $database= 'coverage.db'

the filename of the coverage database

Default valuecoverage.dbDetails
Type
Propertyprivate  $filelists= 'array'

Any filelists of files containing the .php filenames

Default valuearrayDetails
Type
Propertyprivate  $filesets= 'array'

the list of filesets containing the .php filename rules

Default valuearrayDetails
Type

Methods

methodpublic  addFileSet( \FileSet $fileset ) :
Add a new fileset containing the .php files to process
Parameters
Name Type Description
$fileset \FileSet the new fileset containing .php files
methodpublic  createClasspath( ) :
methodpublic  createFileList( ) : \FileList
Supports embedded element.
Returns
Type Description
\FileList
methodprivate  getFilenames( ) : array
Iterate over all filesets and return the filename of all files.
Returns
Type Description
array
methodpublic  init( ) :
methodpublic  main( ) :
methodpublic  setClasspath(  $classpath ) :
Parameters
Name Type Description
$classpath
methodpublic  setDatabase( string $database ) :
Sets the filename of the coverage database to use
Parameters
Name Type Description
$database string the filename of the database
Documentation was generated by DocBlox 0.13.1.