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

From: AjK <andy[@]spiders-lair.com>
Date: Fri, 18 Apr 2008 08:53:55 -0700 (PDT)

(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 2008 - 17:55:30 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST