Supported Nested Tags

  • classpath

  • excludes

Validates an optional code coverage database against the default thresholds.

<coverage-threshold
    perProject="50"
    perClass="60"
    perMethod="70"/>

Validates the code coverage database (from CoverageSetupTask) against the specified thresholds.

<coverage-threshold
    perProject="50"
    perClass="60"
    perMethod="70"/>
    <excludes>
        <file>**/*Processor.php</file>
        <class>Model_Filter_Windows</class>
        <method>Model_System::execute()</method>
    </excludes>

Validates the code coverage database (from CoverageSetupTask) against the specified thresholds and excludes the given file, class and method from threshold validation. The filename is relative to the project basedir. A Method can be named either "Model_System::execute()" or "Model_System::execute". The method name is considered only for the given class "Model_System".