Codecov merge report issue

Hi there i have an Android application that have multiple modules with jacoco each one depends on a different library to provide test coverage. I want them merged in codecov but it doesn’t seem to work for me.

Description

Problem is that when i upload the two modules based on the new coverage for the same codebase they aren’t merged after because each module that isn’t been generated when uploaded says 0 and after i upload the new coverage report is shown as 0 for the previously covered code. I expect codecov to merge both uploads so i can see the full coverage report after.

Repository

Private repo

Uploader

No issues with upload i can see reports being uploaded. And working quite well.

Codecov Output

Not using any atm.

Expected Results

Should provide coverage for both modules based on each specific report that was uploaded previously. Even if the new one states 0.

Actual Results

Codecov shows the latest report but does shows 0 coverage for the other module that hasn’t been used when the report was generated.

Additional Information

Highly appreciated any help! Thank you

@nikiizvorski I’m not really sure I understand your question. Can you be more specific with what you mean by the two modules aren’t showing coverage? Are you uploading both coverage reports?

Hey @tom We could close the question. I have figured it out. problem was the gradle cache on my side. But i do have another problem with the coverage report. I have 83-84% at best in my coverage local jacoco report and codecov only shows 71.6% i am not really sure what’s missing i saw some classes were not taken in consideration so i removed them but still maybe it’s my rules. If someone could help will be much appreciated.

1 Like

Hi @nikiizvorski, would you be able to share a commit and maybe a few lines that you expect to be covered but are not?

Hey @tom i don’t think there are lines that aren’t covered. The difference i see in my local report is i have some new Impl which is covered and showing and in codecov that’s missing maybe its the ignore i have. I will check it a bit later and update you. Thank you for the quick response. The problem i am facing is mostly the report % since local says 84% and codecov 71.6%

Got it @nikiizvorski. Could it be partials? We do not consider partial hits to be fully covered.