]> khamidou — GitHub mirrors - arcanist.git/commit
Filter out some Clover coverage to prevent false positives
authorEric Stern <eric@ericstern.com>
Wed, 24 Feb 2016 20:48:37 +0000 (12:48 -0800)
committerEric Stern <eric@ericstern.com>
Wed, 24 Feb 2016 20:58:07 +0000 (12:58 -0800)
commit086f5399bfbb65513b1b0e2c5371522202a9beb7
treefc78764b7fafe16a7dce53bc49dd609618fdf839
parentfcc11b3a278199fa15b90692aba65f54fef5d7f7
Filter out some Clover coverage to prevent false positives

Summary: Clover reports generated from PHPUnit sometimes give false positives of lines that were not covered by a test that should have actually been not coverable, apparently due to inaccurate static analysis of files that weren't actually executed. This filters coverage reports of files that show no coverage which avoids these false positives. Fixes T10420.

Test Plan:
Looked at coverage reports of files before and after the change

Before: {F1124115}

After: {F1124113}

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, aurelijus

Maniphest Tasks: T10420

Differential Revision: https://secure.phabricator.com/D15343
src/unit/parser/ArcanistPhpunitTestResultParser.php