I would like to know where does SonarQube gets the X of “Coverage on X Lines to cover”.
I am generating the coverage report with phpunit and xdebug. The xml coverage report only has UseCases from Application folder, because phpunit.xml has this:
<coverage processUncoveredFiles="false"> <include> <directory suffix="UseCase.php">./Application/</directory> </include> </coverage>
When I execute sonarscanner and check the Coverage in Sonarqube, it states that I do not have covered files from another folders, for example ./Domain/Entity/Customer.php.
Why does it check other files that are not included in the coverage report?