cp from master #16878
cp from master #16878
Quality Gate failed
Failed conditions
5.2% Duplication on New Code (required ≤ 5%)
C 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
Merge this if statement with the enclosing one.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZr8_GHsqXG6R84cTLSp&open=AZr8_GHsqXG6R84cTLSp&pullRequest=16878
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZr8_GPnqXG6R84cTLSu&open=AZr8_GPnqXG6R84cTLSu&pullRequest=16878
sonarqubecloud / SonarCloud Code Analysis
Abbreviation in name 'isEOF' must contain no more than '2' consecutive capital letters.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZr8_GSzqXG6R84cTLTC&open=AZr8_GSzqXG6R84cTLTC&pullRequest=16878
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'org.apache.iotdb.commons.exception.IllegalPathException', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZr8_F7WqXG6R84cTLSl&open=AZr8_F7WqXG6R84cTLSl&pullRequest=16878
sonarqubecloud / SonarCloud Code Analysis
Change the visibility of this constructor to "protected".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZr8_GkpqXG6R84cTLTI&open=AZr8_GkpqXG6R84cTLTI&pullRequest=16878
sonarqubecloud / SonarCloud Code Analysis
Abbreviation in name 'isEOF' must contain no more than '2' consecutive capital letters.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZr8_GOCqXG6R84cTLSt&open=AZr8_GOCqXG6R84cTLSt&pullRequest=16878
sonarqubecloud / SonarCloud Code Analysis
Abbreviation in name 'shouldCheckTTL' must contain no more than '2' consecutive capital letters.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZr8_GSSqXG6R84cTLSw&open=AZr8_GSSqXG6R84cTLSw&pullRequest=16878
sonarqubecloud / SonarCloud Code Analysis
Abbreviation in name 'isEOF' must contain no more than '2' consecutive capital letters.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZr8_GSzqXG6R84cTLS_&open=AZr8_GSzqXG6R84cTLS_&pullRequest=16878
sonarqubecloud / SonarCloud Code Analysis
Cast one of the operands of this multiplication operation to a "long".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZr8_GufqXG6R84cTLTL&open=AZr8_GufqXG6R84cTLTL&pullRequest=16878
sonarqubecloud / SonarCloud Code Analysis
Reduce the total number of break and continue statements in this loop to use at most one.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZr8_F6pqXG6R84cTLSk&open=AZr8_F6pqXG6R84cTLSk&pullRequest=16878
sonarqubecloud / SonarCloud Code Analysis
Reduce the total number of break and continue statements in this loop to use at most one.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZr8_Gt2qXG6R84cTLTK&open=AZr8_Gt2qXG6R84cTLTK&pullRequest=16878
sonarqubecloud / SonarCloud Code Analysis
Remove the declaration of thrown exception 'java.io.IOException', as it cannot be thrown from method's body.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZr8_F7WqXG6R84cTLSm&open=AZr8_F7WqXG6R84cTLSm&pullRequest=16878
sonarqubecloud / SonarCloud Code Analysis
Expected @throws tag for 'IOException'.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZr8_FwvqXG6R84cTLSg&open=AZr8_FwvqXG6R84cTLSg&pullRequest=16878
sonarqubecloud / SonarCloud Code Analysis
Reduce the total number of break and continue statements in this loop to use at most one.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZr8_GSzqXG6R84cTLS0&open=AZr8_GSzqXG6R84cTLS0&pullRequest=16878
sonarqubecloud / SonarCloud Code Analysis
Abbreviation in name 'deserializeFromWAL' must contain no more than '2' consecutive capital letters.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZr8_GSzqXG6R84cTLTD&open=AZr8_GSzqXG6R84cTLTD&pullRequest=16878
sonarqubecloud / SonarCloud Code Analysis
Extract this nested try block into a separate method.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZr8_GSzqXG6R84cTLSy&open=AZr8_GSzqXG6R84cTLSy&pullRequest=16878
sonarqubecloud / SonarCloud Code Analysis
Remove this "clone" implementation; use a copy constructor or copy factory instead.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZr8_GSzqXG6R84cTLS7&open=AZr8_GSzqXG6R84cTLS7&pullRequest=16878
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "All disks of tier {} are full." 3 times.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZr8_GHsqXG6R84cTLSq&open=AZr8_GHsqXG6R84cTLSq&pullRequest=16878
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZr8_GSzqXG6R84cTLS-&open=AZr8_GSzqXG6R84cTLS-&pullRequest=16878
sonarqubecloud / SonarCloud Code Analysis
Remove this unused "LOGGER" private field.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZr8_Gu3qXG6R84cTLTM&open=AZr8_Gu3qXG6R84cTLTM&pullRequest=16878
sonarqubecloud / SonarCloud Code Analysis
Abbreviation in name 'isEOF' must contain no more than '2' consecutive capital letters.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZr8_GSzqXG6R84cTLTA&open=AZr8_GSzqXG6R84cTLTA&pullRequest=16878
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=AZr8_GF9qXG6R84cTLSo&open=AZr8_GF9qXG6R84cTLSo&pullRequest=16878
sonarqubecloud / 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=apache_iotdb&issues=AZr8_GSzqXG6R84cTLS1&open=AZr8_GSzqXG6R84cTLS1&pullRequest=16878
sonarqubecloud / 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=apache_iotdb&issues=AZr8_GSzqXG6R84cTLS2&open=AZr8_GSzqXG6R84cTLS2&pullRequest=16878
sonarqubecloud / SonarCloud Code Analysis
Abbreviation in name 'isEOF' must contain no more than '2' consecutive capital letters.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZr8_GSzqXG6R84cTLTG&open=AZr8_GSzqXG6R84cTLTG&pullRequest=16878