mi-kas / kover-report

Github action that publishes the Kover code coverage report as a comment in pull requests
https://github.com/marketplace/actions/kotlinx-kover-report
MIT License
55 stars 11 forks source link

Incorrect total coverage #264

Open ppiastucki-vgw opened 7 months ago

ppiastucki-vgw commented 7 months ago

Total coverage seems to be incorrect (higher than expected) compared to the coverage of individual files sometimes. Would you please clarify what the reason might be?

Screenshot 2024-02-15 at 09 11 00 Screenshot 2024-02-15 at 09 54 17

ppiastucki-vgw commented 6 months ago

Update: It looks like the problem affects multi-module projects and it is caused by: https://github.com/mi-kas/kover-report/blob/main/src/reader.ts#L73. When there are no changes in one of the modules it should disregard such a module rather than assume 100 IMHO.

jainendra commented 1 month ago

@mi-kas @ppiastucki-vgw Is there an update here ? Is this a bug ?