C.4 CoverageMergerTask
Prev | Appendix C. Optional tasks | Next

## C.4 CoverageMergerTask

The CoverageMergerTask merges code coverage information from external sources with an existing code coverage database.

The format of the code coverage files is expected to be identical to:

    file_put_contents('/www/live/testcases/coverage.data', serialize(xdebug_get_code_coverage));

### C.4.1 Example

    <coverage-merger>
      <fileset dir="/www/live/testcases">
        <include name="**/*.data"/>
      </fileset>
    </coverage-merger>

### C.4.2 Supported Nested Tags

- `fileset`

Prev | Up | Next
C.3 ComposerTask | Home | C.5 CoverageReportTask