# File with 100% branch and line coverage reported as missing coverage

**URL:** <https://community.codecov.com/t/file-with-100-branch-and-line-coverage-reported-as-missing-coverage/1035>\
**Category:** Bug Fixes\
**Created:** [February 20, 2020, 10:43am UTC](https://community.codecov.com/t/file-with-100-branch-and-line-coverage-reported-as-missing-coverage/1035 "2020-02-20T10:43:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![graingert](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/graingert/32/551_2.png) [@graingert](https://community.codecov.com/u/graingert)\
**Post date:** [February 20, 2020, 10:43am UTC](https://community.codecov.com/t/file-with-100-branch-and-line-coverage-reported-as-missing-coverage/1035/1 "2020-02-20T10:43:05Z")

</div>

### Description

> <https://github.com/twisted/ldaptor/issues/165#issuecomment-588936150>
>
> https://codecov.io/gh/twisted/ldaptor/src/master/ldaptor/test/test\_pureldap.py#L…28

Description of the issue

### Repository

> **[GitHub - twisted/ldaptor: LDAP server, client and utilities, using Twisted...](https://github.com/twisted/ldaptor)**
>
> LDAP server, client and utilities, using Twisted Python

### Steps to Reproduce

**Expected behavior:** [What you expect to happen]  
100% coverage of all test code  
**Actual behavior:** [What actually happens]  
There’s a line missing coverage in test/pure\_ldap.py

**Flakiness?** [Does this happen all the time or only sometimes?]  
yes it passed once when I first made the PR

### Versions

N/A

### Additional Information

N/A

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [May 22, 2020, 2:18am UTC](https://community.codecov.com/t/file-with-100-branch-and-line-coverage-reported-as-missing-coverage/1035/2 "2020-05-22T02:18:37Z")

</div>

Hi @graingert, you’re definitely right this looks wrong. However, I would recommend switching to our bash uploader which does a better job of marking blank lines like this than the python uploader. I think that would fix your issue.
