classes/phing/tasks/ext/coverage/CoverageSetupTask.php
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



$classpath= 'NULL'
the classpath to use (optional)
Default valueNULLDetails
- Type



$database= 'coverage.db'
the filename of the coverage database
Default valuecoverage.dbDetails
- Type



$filelists= 'array'
Any filelists of files containing the .php filenames
Default valuearrayDetails
- Type



$filesets= 'array'
the list of filesets containing the .php filename rules
Default valuearrayDetails
- Type
Methods



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 |



createFileList(
)
:
\FileListSupports embedded element.
Returns
| Type |
Description |
| \FileList |
|



setDatabase(
string $database
)
:
Sets the filename of the coverage database to use
Parameters
| Name |
Type |
Description |
| $database |
string |
the filename of the database |