You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "ARUS2023 (via GitHub)" <gi...@apache.org> on 2023/10/06 01:21:54 UTC
[PR] Removed 1 unnecessary stubbings in ThreadPoolMetricsGaugesTest.java [sling-org-apache-sling-commons-threads]
ARUS2023 opened a new pull request, #9:
URL: https://github.com/apache/sling-org-apache-sling-commons-threads/pull/9
In our analysis of the project, we observed that
1) `ThreadPoolMetricsGaugesTest.testGaugesCreation` contains 1 unnecessary stubbing.
Unnecessary stubbings are stubbed method calls that were never realized during test execution. Mockito recommends to remove unnecessary stubbings (https://www.javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/exceptions/misusing/UnnecessaryStubbingException.html).
We propose below a solution to remove the unnecessary stubbings.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@sling.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Removed 1 unnecessary stubbings in ThreadPoolMetricsGaugesTest.java [sling-org-apache-sling-commons-threads]
Posted by "rombert (via GitHub)" <gi...@apache.org>.
rombert merged PR #9:
URL: https://github.com/apache/sling-org-apache-sling-commons-threads/pull/9
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@sling.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Removed 1 unnecessary stubbings in ThreadPoolMetricsGaugesTest.java [sling-org-apache-sling-commons-threads]
Posted by "sonarcloud[bot] (via GitHub)" <gi...@apache.org>.
sonarcloud[bot] commented on PR #9:
URL: https://github.com/apache/sling-org-apache-sling-commons-threads/pull/9#issuecomment-1749864013
Kudos, SonarCloud Quality Gate passed! [](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-commons-threads&pullRequest=9)
[](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-commons-threads&pullRequest=9&resolved=false&types=BUG) [](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-commons-threads&pullRequest=9&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-commons-threads&pullRequest=9&resolved=false&types=BUG)
[](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-commons-threads&pullRequest=9&resolved=false&types=VULNERABILITY) [](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-commons-threads&pullRequest=9&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-commons-threads&pullRequest=9&resolved=false&types=VULNERABILITY)
[](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-commons-threads&pullRequest=9&resolved=false&types=SECURITY_HOTSPOT) [](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-commons-threads&pullRequest=9&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-commons-threads&pullRequest=9&resolved=false&types=SECURITY_HOTSPOT)
[](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-commons-threads&pullRequest=9&resolved=false&types=CODE_SMELL) [](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-commons-threads&pullRequest=9&resolved=false&types=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-commons-threads&pullRequest=9&resolved=false&types=CODE_SMELL)
[](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-commons-threads&pullRequest=9&metric=coverage&view=list) No Coverage information
[](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-commons-threads&pullRequest=9&metric=duplicated_lines_density&view=list) No Duplication information
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@sling.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org