Skip to content

Please provide guidance on how to handle situations where the reduction in the total number of code steps causes an inability to meet jacoco coverage requirements. #2340

@ricordanza

Description

@ricordanza

In this PR, I moved a part of the code in AuthZpeClient.java to another library.
As a result, I am no longer able to meet the min code coverage requirement specified by jacoco.

[WARNING] Rule violated for bundle athenz-zpe-java-client: lines covered ratio is 0.8702, but expected minimum is 0.8711

I'm considering adjusting code.coverage.min to an appropriate value to address this issue, but I don't know how to calculate the suitable value.
Could you please explain the calculation method?

This PR is just an example, and I'm struggling with how to handle similar cases in the future.
If you have any other recommended approaches, could you please let me know?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions