cp from master #16894
cp from master #16894
Quality Gate failed
Failed conditions
6.7% 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
Return an empty collection instead of null.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZsIGzgpe-5aCZExcJWA&open=AZsIGzgpe-5aCZExcJWA&pullRequest=16894
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=AZsIGzSYe-5aCZExcJVr&open=AZsIGzSYe-5aCZExcJVr&pullRequest=16894
sonarqubecloud / SonarCloud Code Analysis
Override the "equals" method in this class.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZsIGzgpe-5aCZExcJV6&open=AZsIGzgpe-5aCZExcJV6&pullRequest=16894
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=AZsIGzgpe-5aCZExcJWG&open=AZsIGzgpe-5aCZExcJWG&pullRequest=16894
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=AZsIGzgpe-5aCZExcJWI&open=AZsIGzgpe-5aCZExcJWI&pullRequest=16894
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=AZsIGzbqe-5aCZExcJVw&open=AZsIGzbqe-5aCZExcJVw&pullRequest=16894
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=AZsIGzgpe-5aCZExcJV4&open=AZsIGzgpe-5aCZExcJV4&pullRequest=16894
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=AZsIGzgpe-5aCZExcJWJ&open=AZsIGzgpe-5aCZExcJWJ&pullRequest=16894
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=AZsIGzgpe-5aCZExcJWC&open=AZsIGzgpe-5aCZExcJWC&pullRequest=16894
sonarqubecloud / SonarCloud Code Analysis
Merge this if statement with the enclosing one.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZsIGzUHe-5aCZExcJVs&open=AZsIGzUHe-5aCZExcJVs&pullRequest=16894
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=AZsIGzUHe-5aCZExcJVt&open=AZsIGzUHe-5aCZExcJVt&pullRequest=16894
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=AZsIGzgpe-5aCZExcJV-&open=AZsIGzgpe-5aCZExcJV-&pullRequest=16894
sonarqubecloud / SonarCloud Code Analysis
Return a non null object.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZsIGzgpe-5aCZExcJV_&open=AZsIGzgpe-5aCZExcJV_&pullRequest=16894
sonarqubecloud / SonarCloud Code Analysis
Expected @throws tag for 'IllegalPathException'.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZsIGzCYe-5aCZExcJVk&open=AZsIGzCYe-5aCZExcJVk&pullRequest=16894
sonarqubecloud / SonarCloud Code Analysis
Remove this unused "LOGGER" private field.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZsIGz97e-5aCZExcJWP&open=AZsIGz97e-5aCZExcJWP&pullRequest=16894
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=AZsIGzgpe-5aCZExcJWE&open=AZsIGzgpe-5aCZExcJWE&pullRequest=16894
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=AZsIGzG6e-5aCZExcJVo&open=AZsIGzG6e-5aCZExcJVo&pullRequest=16894
sonarqubecloud / SonarCloud Code Analysis
Parameter name 'iDeviceID' must match pattern '^[a-z]([a-z0-9][a-zA-Z0-9]*)?$'.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZsIGzI3e-5aCZExcJVq&open=AZsIGzI3e-5aCZExcJVq&pullRequest=16894
sonarqubecloud / SonarCloud Code Analysis
Add a "NoSuchElementException" for iteration beyond the end of the collection.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZsIGzrNe-5aCZExcJWK&open=AZsIGzrNe-5aCZExcJWK&pullRequest=16894
sonarqubecloud / SonarCloud Code Analysis
Return an empty collection instead of null.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZsIGzgpe-5aCZExcJV8&open=AZsIGzgpe-5aCZExcJV8&pullRequest=16894
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=AZsIGzgpe-5aCZExcJV3&open=AZsIGzgpe-5aCZExcJV3&pullRequest=16894
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=AZsIGz8ue-5aCZExcJWN&open=AZsIGz8ue-5aCZExcJWN&pullRequest=16894
sonarqubecloud / SonarCloud Code Analysis
Expected @throws tag for 'IOException'.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZsIGzCYe-5aCZExcJVl&open=AZsIGzCYe-5aCZExcJVl&pullRequest=16894
sonarqubecloud / SonarCloud Code Analysis
Return an empty collection instead of null.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZsIGzgpe-5aCZExcJV7&open=AZsIGzgpe-5aCZExcJV7&pullRequest=16894
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZsIGzdae-5aCZExcJVx&open=AZsIGzdae-5aCZExcJVx&pullRequest=16894