Codecov thinks my 5 line file is 397 lines long?


I recently added a file with 5 lines of code in my repo. But now codecov analysis thinks this file in 397 lines long, with 245 uncovered lines?


Report is at
Repo itself is at

Steps to Reproduce



pytest-cov 2.8.1
codecov 2.0.22
coverage 5.1

Analysis done via gitlab-ci

Hi @clambin, looks like we aren’t seeing this anymore.

The issue was that in the raw report, we were seeing

Because of the same named file (and the only coverage data for, we assumed it was the same file.