File: configuration_legacy_codecoverage.xml

package info (click to toggle)
phpunit 9.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 24,872 kB
  • sloc: php: 47,103; xml: 1,386; makefile: 37; sh: 8
file content (28 lines) | stat: -rw-r--r-- 1,183 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="utf-8" ?>
<phpunit disableCodeCoverageIgnore="true"
         ignoreDeprecatedCodeUnitsFromCodeCoverage="true">
    <filter>
        <whitelist addUncoveredFilesFromWhitelist="true"
                   processUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">/path/to/files</directory>
            <file>/path/to/file</file>
            <file>
                /path/to/file
            </file>
            <exclude>
                <directory suffix=".php">/path/to/files</directory>
                <file>/path/to/file</file>
            </exclude>
        </whitelist>
    </filter>

    <logging>
        <log type="coverage-clover" target="clover.xml"/>
        <log type="coverage-cobertura" target="cobertura.xml"/>
        <log type="coverage-crap4j" target="crap4j.xml" threshold="50"/>
        <log type="coverage-html" target="coverage" lowUpperBound="50" highLowerBound="90"/>
        <log type="coverage-php" target="coverage.php"/>
        <log type="coverage-text" target="coverage.txt" showUncoveredFiles="false" showOnlySummary="true"/>
        <log type="coverage-xml" target="coverage"/>
    </logging>
</phpunit>