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

| Q | A | --------------------| --------------- | PHPUnit version | 12.5.3 | PHP version | 8.4.15 | Installation Method | Composer #### Summary When using `#[UsesClassesThatExtendClass(BaseHelper::class)]`, PHPUnit caches coverage...

type/bug
code-unit-targeting

I am using laravel's Bus batch to dispatch jobs, and they use closures that get serialized and un-serialized https://laravel.com/docs/11.x/queues#dispatching-batches Example: https://github.com/laravel/framework/blob/46ac7829eba556031fa5f540f3771d52fa4117a2/src/Illuminate/Bus/PendingBatch.php#L173 ```php public function then($callback) { $this->options['then'][] = $callback instanceof...

XML reports (executable) covered lines and all lines (in ``). That also mean both uncovered lines **and** non-executable lines are absent. As such, it seems impossible to only extract uncovered...

_This might be intended / by design; however I can't see any previous reports where this has been confirmed as the intended behaviour_ When an `UnintentionallyCoveredCodeException` exception is thrown in...

I reference pcov to statistics coverage, the original only 600ms interface, now increased to 8s to return /** * 定义请求结束时执行的函数 * @param CodeCoverage $coverage * @return void * @throws ReflectionException...