Codecov report – missing files


We’ve been recently looking at our code coverage in more detail, and we’ve noticed there are several files in our subdirectories are missing.

For example files:

After looking through similar issues (Missing files in codecov (but not in report)), we’ve noticed that our coverage report doesn’t include the root “eatclub/” directory in its file paths, so we added:

  - "::eatclub/"

to our codecov.yaml file.

However, this doesn’t seem to have fixed the problem – here’s a build on a commit which has updated codecov.yaml but the files are still missing in the report:
We also tried to disable Codecov’s default path fixing, to no avail:


The repository is private.


We’re using Jenkins.


We’re using the bash uploader.

Commit SHAs

Updated codecov yaml: 38d425b237a58fb1ac3c5cce4ba3fbf6dfec32fa
Updated codecov yaml with no default path fixing: a0c67245b01e079038fdd8b277095eb2473fb058

Codecov YAML

  branch: development
  disable_default_path_fixes: false
    project: off
        target: 100
        if_not_found: error
  - "::eatclub/"

Hi @magdalena, what happens if you try batcave/::eatclub/batcave/?

Hi Tom, thanks, that seems to be fixing the issue.

Is there any way to handle it on the root directory level?
We have several directories in which this happens, so I need to manually cross-reference the report and CodeCov results to find discrepancies, and obviously this doesn’t scale well for large applications, and will need to be done manually when adding new directories.

I haven’t tried it myself, but what if you did ./::eatclub/?

@tom Sadly, that doesn’t work.

So far the only thing that worked for us was manually specifying it for the problematic directories, but it’s hard to say when there will be new directories with this issue.

Hi @magdalena, unfortunately, I don’t have a solution for you here, but this is probably very irritating to have to do for every directory. I’ve followed this up with the product team to see what we can do in the future to productize. I’m going to mark this as the solution as it does solve for the issue, but I’ll post back here if we find a better solution.