Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code coverage not contain uncovered lines #2673

Closed
imsamurai opened this issue May 14, 2014 · 4 comments
Closed

Code coverage not contain uncovered lines #2673

imsamurai opened this issue May 14, 2014 · 4 comments

Comments

@imsamurai
Copy link

I try code coverage (via fb_*_code_coverage) in 3 version and there is no uncovered lines in output, only lines that was covered. How can i get uncovered lines numbers too? Thanks.

@ptarjan
Copy link
Contributor

ptarjan commented May 23, 2014

You can just parse the file and find which lines aren't present in the other array.

@ptarjan ptarjan closed this as completed May 23, 2014
@imsamurai
Copy link
Author

Yes i can, but how can i find lines that has non executive code? Why dont make behavior like xdebug?

@ptarjan
Copy link
Contributor

ptarjan commented May 23, 2014

Oh I see, you want the equivalent of XDEBUG_CC_UNUSED.

We plan on making a full xdebug compatible API. Anything in the fb_ space is totally undocumented and isn't ready for external use.

#1589 covers the xdebug request

@imsamurai
Copy link
Author

Ok, thanks, will wait for this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants