[to dev/1.3] Optimize InsertTabletStatement tablet conversion (#17805)#17842
Quality Gate passed
Annotations
sonarqubecloud / SonarCloud Code Analysis
WhitespaceAround: '{' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3)
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6Qgm3uJDVwm76JMBD9&open=AZ6Qgm3uJDVwm76JMBD9&pullRequest=17842
sonarqubecloud / SonarCloud Code Analysis
Abbreviation in name 'IoTDBDataNodeReceiverTest' must contain no more than '2' consecutive capital letters.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6Qgmy-JDVwm76JMBD0&open=AZ6Qgmy-JDVwm76JMBD0&pullRequest=17842
sonarqubecloud / SonarCloud Code Analysis
WhitespaceAround: '}' is not preceded with whitespace.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6Qgm3uJDVwm76JMBD-&open=AZ6Qgm3uJDVwm76JMBD-&pullRequest=17842
sonarqubecloud / SonarCloud Code Analysis
Rename "bitMaps" which hides the field declared at line 71.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6Qgm1HJDVwm76JMBD4&open=AZ6Qgm1HJDVwm76JMBD4&pullRequest=17842
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 93 to 64, Complexity from 17 to 14, Nesting Level from 3 to 2, Number of Variables from 13 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6Qgm12JDVwm76JMBD8&open=AZ6Qgm12JDVwm76JMBD8&pullRequest=17842
sonarqubecloud / SonarCloud Code Analysis
Abbreviation in name 'rebuildJarMetadataFromUDFTable' must contain no more than '2' consecutive capital letters.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6Qgm4VJDVwm76JMBEA&open=AZ6Qgm4VJDVwm76JMBEA&pullRequest=17842
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6Qgm12JDVwm76JMBD7&open=AZ6Qgm12JDVwm76JMBD7&pullRequest=17842
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=AZ6Qgm4iJDVwm76JMBEB&open=AZ6Qgm4iJDVwm76JMBEB&pullRequest=17842
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 84 to 64, Complexity from 28 to 14, Nesting Level from 5 to 2, Number of Variables from 26 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6Qgm1HJDVwm76JMBD5&open=AZ6Qgm1HJDVwm76JMBD5&pullRequest=17842
sonarqubecloud / SonarCloud Code Analysis
Replace this "Map.containsKey()" with a call to "Map.computeIfPresent()".
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6Qgm4AJDVwm76JMBD_&open=AZ6Qgm4AJDVwm76JMBD_&pullRequest=17842
sonarqubecloud / SonarCloud Code Analysis
Rename "times" which hides the field declared at line 70.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6Qgm1HJDVwm76JMBD3&open=AZ6Qgm1HJDVwm76JMBD3&pullRequest=17842
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 101).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6Qgm0fJDVwm76JMBD1&open=AZ6Qgm0fJDVwm76JMBD1&pullRequest=17842
sonarqubecloud / SonarCloud Code Analysis
Rename "databaseLevel" which hides the field declared at line 52.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6Qgm1UJDVwm76JMBD6&open=AZ6Qgm1UJDVwm76JMBD6&pullRequest=17842
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 48 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ6Qgm1HJDVwm76JMBD2&open=AZ6Qgm1HJDVwm76JMBD2&pullRequest=17842