JUnit XML summary incorrectly shows 100% success rate
Summary
The Artifact-based view for JUnit XML shows 100% success rate when project has a large amount of tests and few failures.
Introduced as part of the feature created in #24792 (closed)
What is the current bug behavior?
The summary shows a 100% success rate when 1 test fails out of 16603.
What is the expected correct behavior?
The summary should show a 99% success rate.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Possible fixes
This is caused by a rounding error in successPercentage
: