[DO NOT MERGE] Test ratis 3.3.0 - #18320
Quality Gate failed
Failed conditions
E 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 / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof Reservation reservation'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-mchFJd4ojkzVRQfQM&open=AZ-mchFJd4ojkzVRQfQM&pullRequest=18320
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof LocalDate localdate'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-mcgxKd4ojkzVRQfP5&open=AZ-mcgxKd4ojkzVRQfP5&pullRequest=18320
sonarqubecloud / SonarCloud Code Analysis
Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-mcgqLd4ojkzVRQfPv&open=AZ-mcgqLd4ojkzVRQfPv&pullRequest=18320
sonarqubecloud / SonarCloud Code Analysis
Cast one of the operands of this addition operation to a "long".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-mcgwId4ojkzVRQfP3&open=AZ-mcgwId4ojkzVRQfP3&pullRequest=18320
sonarqubecloud / SonarCloud Code Analysis
Remove this unnecessary cast to "long".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-mcgK-d4ojkzVRQfPf&open=AZ-mcgK-d4ojkzVRQfPf&pullRequest=18320
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 146).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-mcgi5d4ojkzVRQfPs&open=AZ-mcgi5d4ojkzVRQfPs&pullRequest=18320
sonarqubecloud / SonarCloud Code Analysis
Remove this unnecessary cast to "long".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-mcgK-d4ojkzVRQfPe&open=AZ-mcgK-d4ojkzVRQfPe&pullRequest=18320
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 75 to 64, Complexity from 15 to 14, Nesting Level from 5 to 2, Number of Variables from 11 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-mcg-cd4ojkzVRQfQB&open=AZ-mcg-cd4ojkzVRQfQB&pullRequest=18320
sonarqubecloud / SonarCloud Code Analysis
Summary javadoc is missing.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-mchDhd4ojkzVRQfQL&open=AZ-mchDhd4ojkzVRQfQL&pullRequest=18320
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 167).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-mchFud4ojkzVRQfQP&open=AZ-mchFud4ojkzVRQfQP&pullRequest=18320
sonarqubecloud / SonarCloud Code Analysis
"notify" may not wake up the appropriate thread.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-mcgi5d4ojkzVRQfPr&open=AZ-mcgi5d4ojkzVRQfPr&pullRequest=18320
sonarqubecloud / SonarCloud Code Analysis
Use an "AtomicInteger" for this field; its operations are atomic.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-mcgwId4ojkzVRQfP4&open=AZ-mcgwId4ojkzVRQfP4&pullRequest=18320
sonarqubecloud / SonarCloud Code Analysis
Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-mchBsd4ojkzVRQfQD&open=AZ-mchBsd4ojkzVRQfQD&pullRequest=18320
sonarqubecloud / SonarCloud Code Analysis
Use try-with-resources or close this "Reservation" in a "finally" clause.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-mchFud4ojkzVRQfQO&open=AZ-mchFud4ojkzVRQfQO&pullRequest=18320
sonarqubecloud / SonarCloud Code Analysis
Remove this unnecessary cast to "long".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-mcgqLd4ojkzVRQfPx&open=AZ-mcgqLd4ojkzVRQfPx&pullRequest=18320
sonarqubecloud / SonarCloud Code Analysis
Replace generic exceptions with specific library exceptions or a custom exception.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-mcgmRd4ojkzVRQfPt&open=AZ-mcgmRd4ojkzVRQfPt&pullRequest=18320
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 132).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-mcg34d4ojkzVRQfP-&open=AZ-mcg34d4ojkzVRQfP-&pullRequest=18320
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof QueryProcessException queryprocessexception'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-mchGhd4ojkzVRQfQR&open=AZ-mchGhd4ojkzVRQfQR&pullRequest=18320
sonarqubecloud / SonarCloud Code Analysis
Remove this call to "wait" or move it into a "while" loop.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-mcgi5d4ojkzVRQfPq&open=AZ-mcgi5d4ojkzVRQfPq&pullRequest=18320
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 131).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-mcgeRd4ojkzVRQfPk&open=AZ-mcgeRd4ojkzVRQfPk&pullRequest=18320
sonarqubecloud / SonarCloud Code Analysis
Fix this access that will throw a NullPointerException when executed.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-mcgs5d4ojkzVRQfP0&open=AZ-mcgs5d4ojkzVRQfP0&pullRequest=18320
sonarqubecloud / SonarCloud Code Analysis
Use "java.util.Random.nextLong()" instead.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-mcgmRd4ojkzVRQfPu&open=AZ-mcgmRd4ojkzVRQfPu&pullRequest=18320
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof ConfigTableNode configtablenode'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-mcg-cd4ojkzVRQfQA&open=AZ-mcg-cd4ojkzVRQfQA&pullRequest=18320
sonarqubecloud / SonarCloud Code Analysis
Fix this access that will throw a NullPointerException when executed.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-mcg2Kd4ojkzVRQfP8&open=AZ-mcg2Kd4ojkzVRQfP8&pullRequest=18320
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof QueryProcessException queryprocessexception'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-mchIzd4ojkzVRQfQT&open=AZ-mchIzd4ojkzVRQfQT&pullRequest=18320