I am unable to generate the report with the format that have *Executed Not ExecutedDead Code
[php-code-coverage 9.2.26] using [PHP 8.1.10] and [PHPUnit 9.6.8] Xdebug v3.2.1,
i am trying to generate the report to check the performance of laravel application creating a command. the command run well but i didnt get the report that i expected.
this is my laravel command code :
$filter = new Filter;
$filter->includeDirectory(base_path('app'));
$driver = new Xdebug3Driver($filter);
$coverage = new CodeCoverage($driver, $filter);
$coverage->processUncoveredFiles(); // Enable processing of uncovered files
$coverage->
$coverage->start('coverage');
// Run PHPUnit tests
$coverage->stop();
$htmlReport = new HtmlReport();
$htmlReport->process($coverage, storage_path('app/public/code-coverage-report'));
$this->line('');
$this->line('Code coverage report generated.');
$this->output->writeln('');
$this->output->writeln('Done.');
the first picture is the report that i am generating. the second is the report that i want
i need the report show the executed, not executed instead the coverage but my code is not working. what i could do to fix this issues ?
I am unable to generate the report with the format that have *Executed Not ExecutedDead Code
[php-code-coverage 9.2.26] using [PHP 8.1.10] and [PHPUnit 9.6.8] Xdebug v3.2.1,
i am trying to generate the report to check the performance of laravel application creating a command. the command run well but i didnt get the report that i expected.
this is my laravel command code :
$filter = new Filter;
i need the report show the executed, not executed instead the coverage but my code is not working. what i could do to fix this issues ?