View Issue Details

IDProjectCategoryView StatusLast Update
0000365XdebugCode Coveragepublic2020-03-12 17:35
Reporterderick Assigned Toderick  
Status resolvedResolutionduplicate 
Summary0000365: Feature patch, allow code coverage to avoid "covering" certain files by path.

Adds a new userspace command to the code coverage section:-

void xdebug_code_coverage_exclude_paths (array);

Basically, passes an array of strings that the coverage should avoid counting on. The strings are matched against the
filename path and if a match is made code coverage doesn't cover that module.

Reasons for creating it. I have a rather heavy weight test syste to deal with against a rather large application and I
didn't want xdebug to code coverage the actual test scripts, just the application. Well, simple as that.


TagsNo tags attached.
Operating System
PHP Version5.2.5


duplicate of 0001059 closedderick Add filter capabilities to tracing, stack traces, and code coverage. 


Milian Wolff

2008-07-03 22:47

reporter   ~0000858

Was able to compile it and call it from a PHP file. But it is not what I thought it would be. A pity ;-)



=> won't work as expected currently. Could you adapt your patch?


2016-12-13 21:34

administrator   ~0004051

Duplicate of 0001059

Issue History

Date Modified Username Field Change
2008-04-18 18:24 derick New Issue
2008-07-03 22:47 Milian Wolff Note Added: 0000858
2016-12-13 21:34 derick Note Added: 0004051
2016-12-13 21:34 derick Relationship added duplicate of 0001059
2016-12-13 21:34 derick Status new => resolved
2016-12-13 21:34 derick Resolution open => duplicate
2016-12-13 21:34 derick Assigned To => derick
2020-03-12 16:55 derick Severity minor => feature
2020-03-12 17:35 derick Category Feature/Change request => Code Coverage