Fixed multiple configNode bugs - #17609
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
Line is longer than 100 characters (found 112).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-2Z_RL049OftIvJ8Q8&open=AZ-2Z_RL049OftIvJ8Q8&pullRequest=17609
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof AbstractOperatePipeProcedureV2 abstractoperatepipeprocedurev2'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xIGrwojDc0-73zfPx&open=AZ-xIGrwojDc0-73zfPx&pullRequest=17609
sonarqubecloud / SonarCloud Code Analysis
'switch rcurly' has incorrect indentation level 8, expected level should be 4.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xIGrwojDc0-73zfQE&open=AZ-xIGrwojDc0-73zfQE&pullRequest=17609
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 102).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xIGrwojDc0-73zfP8&open=AZ-xIGrwojDc0-73zfP8&pullRequest=17609
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=AZ-xIGnkojDc0-73zfPY&open=AZ-xIGnkojDc0-73zfPY&pullRequest=17609
sonarqubecloud / SonarCloud Code Analysis
Simplify this regular expression to reduce its runtime, as it has super-linear performance due to backtracking.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xIGqXojDc0-73zfPp&open=AZ-xIGqXojDc0-73zfPp&pullRequest=17609
sonarqubecloud / SonarCloud Code Analysis
Use a thread-safe type; adding "volatile" is not enough to make this field thread-safe.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xIGrwojDc0-73zfPv&open=AZ-xIGrwojDc0-73zfPv&pullRequest=17609
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 134 to 64, Complexity from 34 to 14, Nesting Level from 4 to 2, Number of Variables from 8 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xIGpDojDc0-73zfPZ&open=AZ-xIGpDojDc0-73zfPZ&pullRequest=17609
sonarqubecloud / SonarCloud Code Analysis
Catch Exception instead of Error.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xIGqIojDc0-73zfPn&open=AZ-xIGqIojDc0-73zfPn&pullRequest=17609
sonarqubecloud / SonarCloud Code Analysis
Use a thread-safe type; adding "volatile" is not enough to make this field thread-safe.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xIGrwojDc0-73zfPw&open=AZ-xIGrwojDc0-73zfPw&pullRequest=17609
sonarqubecloud / SonarCloud Code Analysis
Expected @throws tag for 'IllegalStateException'.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-2Z_J7049OftIvJ8Q6&open=AZ-2Z_J7049OftIvJ8Q6&pullRequest=17609
sonarqubecloud / SonarCloud Code Analysis
Abbreviation in name 'isIoTDBSource' must contain no more than '2' consecutive capital letters.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-2Z_Nr049OftIvJ8Q7&open=AZ-2Z_Nr049OftIvJ8Q7&pullRequest=17609
sonarqubecloud / SonarCloud Code Analysis
WhitespaceAround: '}' is not preceded with whitespace.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xIGssojDc0-73zfQI&open=AZ-xIGssojDc0-73zfQI&pullRequest=17609
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 117).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xIGrwojDc0-73zfP7&open=AZ-xIGrwojDc0-73zfP7&pullRequest=17609
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 126).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xIGrwojDc0-73zfP2&open=AZ-xIGrwojDc0-73zfP2&pullRequest=17609
sonarqubecloud / SonarCloud Code Analysis
Method has 10 parameters, which is greater than 7 authorized.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xIGklojDc0-73zfPP&open=AZ-xIGklojDc0-73zfPP&pullRequest=17609
sonarqubecloud / SonarCloud Code Analysis
Merge the previous cases into this one using comma-separated label.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xIGqXojDc0-73zfPo&open=AZ-xIGqXojDc0-73zfPo&pullRequest=17609
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 130).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xIGrwojDc0-73zfP4&open=AZ-xIGrwojDc0-73zfP4&pullRequest=17609
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-xIGrwojDc0-73zfPy&open=AZ-xIGrwojDc0-73zfPy&pullRequest=17609
sonarqubecloud / SonarCloud Code Analysis
Replace this instanceof check and cast with 'instanceof AlterTopicProcedure altertopicprocedure'
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-2Z_eT049OftIvJ8Q9&open=AZ-2Z_eT049OftIvJ8Q9&pullRequest=17609
sonarqubecloud / SonarCloud Code Analysis
All overloaded methods should be placed next to each other. Placing non-overloaded methods in between overloaded methods with the same type is a violation. Previous overloaded method located at line '1,253'.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xIGpdojDc0-73zfPi&open=AZ-xIGpdojDc0-73zfPi&pullRequest=17609
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 113).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-2Z-Zh049OftIvJ8Q1&open=AZ-2Z-Zh049OftIvJ8Q1&pullRequest=17609
sonarqubecloud / SonarCloud Code Analysis
Expected @throws tag for 'IllegalStateException'.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-2Z_J7049OftIvJ8Q5&open=AZ-2Z_J7049OftIvJ8Q5&pullRequest=17609
sonarqubecloud / SonarCloud Code Analysis
Distance between variable 'type' declaration and its first usage is 6, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xIGqXojDc0-73zfPt&open=AZ-xIGqXojDc0-73zfPt&pullRequest=17609
sonarqubecloud / SonarCloud Code Analysis
Distance between variable 'address' declaration and its first usage is 6, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ-xIGqXojDc0-73zfPs&open=AZ-xIGqXojDc0-73zfPs&pullRequest=17609