php-code-coverage icon indicating copy to clipboard operation
php-code-coverage copied to clipboard

Library that provides collection, processing, and rendering functionality for PHP code coverage information.

Results 45 php-code-coverage issues
Sort by recently updated
recently updated
newest added

Although the use of ```@covers``` and ```@coversNothing``` is really useful for generating good coverage reports, there are also times when we want to ignore those settings. For example, i may...

type/enhancement

Generating code coverage report in Clover XML format ... Warning: DOMElement::setAttribute(): string is not in UTF-8 in ...\vendor\phpunit\php-code-coverage\src\Report\Clover.php on line 58 Versions: ``` "name": "phpunit/php-code-coverage", "version": "4.0.x-dev", "source": { "type":...

@johannes mentioned: > Try opening it using fopen() or similar. If that fails the file isn't in cache and you can take that path. If it succeeds you can process...

performance
type/enhancement

Sometimes a test covers code that is not a class, for example a template file or a configuration file. It is currently not possible to explicitly collect coverage data for...

type/enhancement

Not a bug, but more of a idea/feature request. Would it be possible to take a look at making coverage reporting streamable into a file at runtime, in small chunks?...

type/enhancement

| Q | A | --------------------------| --------------- | php-code-coverage version | >= 9.2.17 | Installation Method | Composer | Usage Method | PHPUnit | PHPUnit version (if used) | 9.5.25...

In the report file there absolute path start with root. This remove flexibility to move report somewhere else after running and it for me to use same directory path for...

type/enhancement
report/php

PHPUnit turns code unit information (`@covers class::method`, for instance) into filename and line numbers information which this component then uses but has to convert back into code unit information when,...

refactoring

| Q | A | --------------------------| --------------- | php-code-coverage version | 9.2.31 | PHP version | 8.2.21 | Driver | Xdebug | Xdebug version (if used) | 3.3.2 | Installation...

type/performance