chore: port changes in google-cloud-java since 2026-03-24 #4170
Quality Gate failed
Failed conditions
2 Security Hotspots
62.8% Coverage on New Code (required ≥ 80%)
D Reliability Rating on New Code (required ≥ A)
See analysis details on SonarQube Cloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE
Annotations
sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis
Remove this use of "Thread.sleep()".
See more on https://sonarcloud.io/project/issues?id=googleapis_gapic-generator-java&issues=AZ1uuapx1MRvjmKtjGdX&open=AZ1uuapx1MRvjmKtjGdX&pullRequest=4170
sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis
This block of commented-out lines of code should be removed.
See more on https://sonarcloud.io/project/issues?id=googleapis_gapic-generator-java&issues=AZ1uuazc1MRvjmKtjGdx&open=AZ1uuazc1MRvjmKtjGdx&pullRequest=4170
sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis
Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.
See more on https://sonarcloud.io/project/issues?id=googleapis_gapic-generator-java&issues=AZ1uuapf1MRvjmKtjGdI&open=AZ1uuapf1MRvjmKtjGdI&pullRequest=4170
sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis
Rename this field "pUint32_" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=googleapis_gapic-generator-java&issues=AZ1uv1tclHvRc0WcQGfq&open=AZ1uv1tclHvRc0WcQGfq&pullRequest=4170
sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis
Merge this if statement with the enclosing one.
See more on https://sonarcloud.io/project/issues?id=googleapis_gapic-generator-java&issues=AZ1uv1tclHvRc0WcQGfX&open=AZ1uv1tclHvRc0WcQGfX&pullRequest=4170
sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis
Rename this field "pUint64_" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=googleapis_gapic-generator-java&issues=AZ1uv1tclHvRc0WcQGfv&open=AZ1uv1tclHvRc0WcQGfv&pullRequest=4170
sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis
Rename this field "pFixed64_" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=googleapis_gapic-generator-java&issues=AZ1uv1tclHvRc0WcQGfl&open=AZ1uv1tclHvRc0WcQGfl&pullRequest=4170
Check warning on line 188 in gax-java/gax/src/main/java/com/google/api/gax/tracing/ApiTracer.java
sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis
Remove this empty statement.
See more on https://sonarcloud.io/project/issues?id=googleapis_gapic-generator-java&issues=AZ1uuary1MRvjmKtjGdk&open=AZ1uuary1MRvjmKtjGdk&pullRequest=4170
sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis
Remove this use of "Thread.sleep()".
See more on https://sonarcloud.io/project/issues?id=googleapis_gapic-generator-java&issues=AZ1uuapx1MRvjmKtjGdV&open=AZ1uuapx1MRvjmKtjGdV&pullRequest=4170
sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis
Merge this if statement with the enclosing one.
See more on https://sonarcloud.io/project/issues?id=googleapis_gapic-generator-java&issues=AZ1uv1tclHvRc0WcQGfU&open=AZ1uv1tclHvRc0WcQGfU&pullRequest=4170
sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis
Remove this use of "Thread.sleep()".
See more on https://sonarcloud.io/project/issues?id=googleapis_gapic-generator-java&issues=AZ1uuapx1MRvjmKtjGdS&open=AZ1uuapx1MRvjmKtjGdS&pullRequest=4170
sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis
Refactor the body of this try/catch to not have multiple invocations throwing the same checked exception.
See more on https://sonarcloud.io/project/issues?id=googleapis_gapic-generator-java&issues=AZ1uuatj1MRvjmKtjGdo&open=AZ1uuatj1MRvjmKtjGdo&pullRequest=4170
sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis
Merge this if statement with the enclosing one.
See more on https://sonarcloud.io/project/issues?id=googleapis_gapic-generator-java&issues=AZ1uv1tclHvRc0WcQGfY&open=AZ1uv1tclHvRc0WcQGfY&pullRequest=4170
sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis
Remove this use of "Thread.sleep()".
See more on https://sonarcloud.io/project/issues?id=googleapis_gapic-generator-java&issues=AZ1uuapx1MRvjmKtjGdc&open=AZ1uuapx1MRvjmKtjGdc&pullRequest=4170
sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis
Rename this field "pSint32_" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=googleapis_gapic-generator-java&issues=AZ1uv1tclHvRc0WcQGfd&open=AZ1uv1tclHvRc0WcQGfd&pullRequest=4170
sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis
Merge this if statement with the enclosing one.
See more on https://sonarcloud.io/project/issues?id=googleapis_gapic-generator-java&issues=AZ1uv1tclHvRc0WcQGfW&open=AZ1uv1tclHvRc0WcQGfW&pullRequest=4170
sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis
Remove the parentheses around the "result" parameter
See more on https://sonarcloud.io/project/issues?id=googleapis_gapic-generator-java&issues=AZ1uuayc1MRvjmKtjGdv&open=AZ1uuayc1MRvjmKtjGdv&pullRequest=4170
sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis
Refactor the code in order to not assign to this loop counter from within the loop body.
See more on https://sonarcloud.io/project/issues?id=googleapis_gapic-generator-java&issues=AZ1uuaz91MRvjmKtjGdz&open=AZ1uuaz91MRvjmKtjGdz&pullRequest=4170
sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis
Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.
See more on https://sonarcloud.io/project/issues?id=googleapis_gapic-generator-java&issues=AZ1uuapx1MRvjmKtjGdY&open=AZ1uuapx1MRvjmKtjGdY&pullRequest=4170
sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis
Rename this field "pFixed64_" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=googleapis_gapic-generator-java&issues=AZ1uv1tclHvRc0WcQGfw&open=AZ1uv1tclHvRc0WcQGfw&pullRequest=4170
sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis
Rename this field "pSint32_" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=googleapis_gapic-generator-java&issues=AZ1uv1tclHvRc0WcQGfo&open=AZ1uv1tclHvRc0WcQGfo&pullRequest=4170
sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis
Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.
See more on https://sonarcloud.io/project/issues?id=googleapis_gapic-generator-java&issues=AZ1uuapf1MRvjmKtjGdG&open=AZ1uuapf1MRvjmKtjGdG&pullRequest=4170
sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis
Merge this if statement with the enclosing one.
See more on https://sonarcloud.io/project/issues?id=googleapis_gapic-generator-java&issues=AZ1uv1tclHvRc0WcQGfV&open=AZ1uv1tclHvRc0WcQGfV&pullRequest=4170
sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis
Rename this field "pSfixed64_" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=googleapis_gapic-generator-java&issues=AZ1uv1tclHvRc0WcQGfu&open=AZ1uv1tclHvRc0WcQGfu&pullRequest=4170
sonarqubecloud / [gapic-generator-java-root] SonarCloud Code Analysis
Rename this field "pSfixed64_" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.
See more on https://sonarcloud.io/project/issues?id=googleapis_gapic-generator-java&issues=AZ1uv1tclHvRc0WcQGfj&open=AZ1uv1tclHvRc0WcQGfj&pullRequest=4170