lemurheavy / coveralls-public

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

Coveralls marks comments and covered lines as missed #1745

Closed krishnasism closed 10 months ago

krishnasism commented 10 months ago

The total coverage % is being incorrectly reported because comments are also being considered.

When running using coverage run pytest, we have 100%, but coverall reports 98%

image

Apart from comments, it also picks up irrelevant lines such as variable declarations. These are already covered anyway

image

Our build link: https://coveralls.io/builds/65133058