Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jacoco coverrage Threshold rouding error #10900

Merged
merged 1 commit into from
Sep 22, 2024
Merged

Conversation

qmonmert
Copy link
Contributor

Fix #10752

@qmonmert qmonmert added area: bug 🐛 Something isn't working server: java labels Sep 18, 2024
@@ -1292,7 +1292,7 @@
<element>CLASS</element>
<limits>
<limit>
<counter>LINE</counter>
<counter>BRANCH</counter>
Copy link
Contributor

@murdos murdos Sep 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then it becomes a duplicated limit of the limit that is defined below

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so what's your suggestion?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know, I've not done any investigation to fix the mentioned issue.
I'm just noticing that this limit is already defined.
Maybe @DamnClin know better.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The idea is to go from

<value>COVEREDRATIO</value>
<minimum>1.00</minimum>

To

<value>MISSEDCOUNT</value>
<maximum>0</maximum>

For both banch and line, I missed copy past in the ticket, forgot to remove the failing part...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@qmonmert : That means COVEREDRATIO limits should be removed

value = "COVEREDRATIO"
minimum = "1.00".toBigDecimal()
value = "MISSEDCOUNT"
maximum = "1.00".toBigDecimal()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be 0 no?

value = "COVEREDRATIO"
minimum = "1.00".toBigDecimal()
value = "MISSEDCOUNT"
maximum = "1.00".toBigDecimal()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be 0 no?

value = "COVEREDRATIO"
minimum = "1.00".toBigDecimal()
value = "MISSEDCOUNT"
maximum = "1.00".toBigDecimal()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be 0 no?

value = "COVEREDRATIO"
minimum = "1.00".toBigDecimal()
value = "MISSEDCOUNT"
maximum = "1.00".toBigDecimal()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be 0 no?

@murdos murdos merged commit 1d17c26 into jhipster:main Sep 22, 2024
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: bug 🐛 Something isn't working server: java
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Jacoco coverrage Threshold rouding error
3 participants