Madrapps / jacoco-report

Github action that publishes the JaCoCo report as a comment in the Pull Request
https://github.com/marketplace/actions/jacoco-report
MIT License
144 stars 63 forks source link

Getting coverage diff lower then -100% #79

Open miroslavpojer opened 6 months ago

miroslavpojer commented 6 months ago

Coverage diff counts strange numbers when adding a new file to the project. v1.6.1

image

The first diff I can count to confirm. The second one makes no sense. The file was added in PR so there is missing source data for comparison. I think you should disable this feature for newly added files and counting only reached coverage.

Here is the second example of the same problem: image

Note: