[xdebug-general] Re: excluding file/code in code coverage

From: Derick Rethans <derick[@]xdebug.org>
Date: Thu, 22 Jun 2017 10:01:14 +0100 (BST)

Hi Ankur!

On Thu, 22 Jun 2017, Ankur Saini wrote:

> Is there any way to exclude some file from code coverage .
> For example when i run my code writtem in CI -php framework it show
> framework library also in code coverage .i want only my written code in
> code coverage.

This is not yet possible, but I have started working on this
functionality as part of the upcoming Xdebug 2.6. There is a tracking
issue at https://bugs.xdebug.org/view.php?id=1059 and a GitHub branch
(not working yet) at


Like Xdebug? Consider a donation: https://xdebug.org/donate.php
Xdebug | https://xdebug.org | xdebug-general@lists.xdebug.org
twitter: @derickr and @xdebug
Received on Thu Jun 22 2017 - 10:01:15 BST

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