<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         syntaxCheck="false"
         bootstrap="src/autoload.php">

    <testsuites>
        <testsuite name="Factory">
            <directory suffix="Test.php">tests</directory>
        </testsuite>
    </testsuites>

    <filter>
        <whitelist addUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">src</directory>
        </whitelist>
    </filter>

    <logging>
        <log type="coverage-html" target="build/coverage/html" title="Factory"
             charset="UTF-8" highlight="true" lowUpperBound="35" highLowerBound="70"/>
    </logging>

</phpunit>

<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         syntaxCheck="false"
         bootstrap="src/autoload.php">

    <testsuites>
        <testsuite name="Factory">
            <directory suffix="Test.php">tests</directory>
        </testsuite>
    </testsuites>

    <filter>
        <whitelist addUncoveredFilesFromWhitelist="true">
            <directory suffix=".php">src</directory>
            <exclude>
                <file>src/autoload.php</file>
            </exclude>
        </whitelist>
    </filter>

    <logging>
        <log type="coverage-html" target="build/coverage/html" title="Factory"
             charset="UTF-8" highlight="true" lowUpperBound="35" highLowerBound="70"/>
    </logging>

</phpunit>

Exclude autoloader from code coverage
Exclude autoloader from code coverage
