Add IT for session and jdbc query #16821
Quality Gate failed
Failed conditions
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
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=AZrAK2hpGMwAcynQS8Fw&open=AZrAK2hpGMwAcynQS8Fw&pullRequest=16821
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=AZrAK2KaGMwAcynQS8FU&open=AZrAK2KaGMwAcynQS8FU&pullRequest=16821
sonarqubecloud / SonarCloud Code Analysis
Merge this if statement with the enclosing one.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZrAK2WMGMwAcynQS8FX&open=AZrAK2WMGMwAcynQS8FX&pullRequest=16821
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=AZrAK2hpGMwAcynQS8Fo&open=AZrAK2hpGMwAcynQS8Fo&pullRequest=16821
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 134).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZrAK2bRGMwAcynQS8FZ&open=AZrAK2bRGMwAcynQS8FZ&pullRequest=16821
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=AZrAK2hpGMwAcynQS8Fx&open=AZrAK2hpGMwAcynQS8Fx&pullRequest=16821
sonarqubecloud / SonarCloud Code Analysis
Return an empty collection instead of null.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZrAK2hpGMwAcynQS8Fm&open=AZrAK2hpGMwAcynQS8Fm&pullRequest=16821
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=AZrAK2hHGMwAcynQS8Fc&open=AZrAK2hHGMwAcynQS8Fc&pullRequest=16821
sonarqubecloud / SonarCloud Code Analysis
Merge this if statement with the enclosing one.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZrAK29DGMwAcynQS8F0&open=AZrAK29DGMwAcynQS8F0&pullRequest=16821
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=AZrAK2d_GMwAcynQS8Fb&open=AZrAK2d_GMwAcynQS8Fb&pullRequest=16821
sonarqubecloud / SonarCloud Code Analysis
Remove this unused "LOGGER" private field.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZrAK2_DGMwAcynQS8F2&open=AZrAK2_DGMwAcynQS8F2&pullRequest=16821
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=AZrAK2hpGMwAcynQS8Fi&open=AZrAK2hpGMwAcynQS8Fi&pullRequest=16821
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=AZrAK2hpGMwAcynQS8Fv&open=AZrAK2hpGMwAcynQS8Fv&pullRequest=16821
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=AZrAK2hpGMwAcynQS8Ff&open=AZrAK2hpGMwAcynQS8Ff&pullRequest=16821
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=AZrAK2hpGMwAcynQS8Fj&open=AZrAK2hpGMwAcynQS8Fj&pullRequest=16821
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=AZrAK2UwGMwAcynQS8FW&open=AZrAK2UwGMwAcynQS8FW&pullRequest=16821
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=AZrAK2hpGMwAcynQS8Fg&open=AZrAK2hpGMwAcynQS8Fg&pullRequest=16821
sonarqubecloud / SonarCloud Code Analysis
Use super.clone() to create and seed the cloned instance to be returned.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZrAK2hpGMwAcynQS8Fn&open=AZrAK2hpGMwAcynQS8Fn&pullRequest=16821
sonarqubecloud / SonarCloud Code Analysis
Return a non null object.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZrAK2hpGMwAcynQS8Fp&open=AZrAK2hpGMwAcynQS8Fp&pullRequest=16821
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=AZrAK2hpGMwAcynQS8Fz&open=AZrAK2hpGMwAcynQS8Fz&pullRequest=16821
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZrAK2J2GMwAcynQS8FS&open=AZrAK2J2GMwAcynQS8FS&pullRequest=16821
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=AZrAK2hpGMwAcynQS8Fe&open=AZrAK2hpGMwAcynQS8Fe&pullRequest=16821
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=AZrAK2byGMwAcynQS8Fa&open=AZrAK2byGMwAcynQS8Fa&pullRequest=16821
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=AZrAK2J2GMwAcynQS8FQ&open=AZrAK2J2GMwAcynQS8FQ&pullRequest=16821
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=AZrAK2WMGMwAcynQS8FY&open=AZrAK2WMGMwAcynQS8FY&pullRequest=16821