[xdebug-general] Feature patch, allow code coverage to avoid "covering" certain files by path.

From: AjK <andy[@]spiders-lair.com>
Date: Fri Apr 18 2008 - 17:53:55 CEST

(resent...so not quite first post)

Hi, first post to the list and first patch too.

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.

cheers,
--Andy (ajk)

Received on Fri Apr 18 17:55:30 2008

This archive was generated by hypermail 2.1.8 : Sun Oct 12 2008 - 02:00:18 CEST