lemurheavy / coveralls-public

The public issue tracker for coveralls.io
http://coveralls.io
124 stars 7 forks source link

Wrong score calculation in PHP #123

Closed ludofleury closed 11 years ago

ludofleury commented 11 years ago

In PHP, "Interface" aren't executable code. Even "abstract" class are not really directly tested.

This 2 things are flawing the coverage score.

jubianchi commented 11 years ago

For example, consider the following run:

This seems to be caused by a potential static analysis by coveralls which take into account interfaces and some other non-executable code :

Both files have 0 relevant lines but it seems like their score (and the score of other files in the same case) are used to compute the global coverage score...

ludofleury commented 11 years ago

Sorry for the noise, wrong report.