Pipe: Improved the total performance by disable some useless logic #17448
Quality Gate passed
Annotations
sonarqubecloud / SonarCloud Code Analysis
Use a primitive boolean expression here.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ1shZ1W0YMKf6I9cMhs&open=AZ1shZ1W0YMKf6I9cMhs&pullRequest=17448
sonarqubecloud / SonarCloud Code Analysis
Rename "schema" which hides the field declared at line 75.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ1shZ2w0YMKf6I9cMh5&open=AZ1shZ2w0YMKf6I9cMh5&pullRequest=17448
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=AZ1shZ2w0YMKf6I9cMh3&open=AZ1shZ2w0YMKf6I9cMh3&pullRequest=17448
sonarqubecloud / SonarCloud Code Analysis
Catch Exception instead of Throwable.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ1shZ5z0YMKf6I9cMiF&open=AZ1shZ5z0YMKf6I9cMiF&pullRequest=17448
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 115).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ1shZ6J0YMKf6I9cMiG&open=AZ1shZ6J0YMKf6I9cMiG&pullRequest=17448
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ1shZ1W0YMKf6I9cMhu&open=AZ1shZ1W0YMKf6I9cMhu&pullRequest=17448
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=AZ1shZ1W0YMKf6I9cMht&open=AZ1shZ1W0YMKf6I9cMht&pullRequest=17448
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 138 to 64, Complexity from 41 to 14, Nesting Level from 5 to 2, Number of Variables from 21 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ1shZ8f0YMKf6I9cMiH&open=AZ1shZ8f0YMKf6I9cMiH&pullRequest=17448
sonarqubecloud / SonarCloud Code Analysis
Remove this unused private "buildOutputDataTypeForBuiltInModel" method.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ1shZ0J0YMKf6I9cMhp&open=AZ1shZ0J0YMKf6I9cMhp&pullRequest=17448
sonarqubecloud / SonarCloud Code Analysis
Local variable name 'iMeasurementSchema' must match pattern '^[a-z]([a-z0-9][a-zA-Z0-9]*)?$'.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ1shZ2H0YMKf6I9cMh1&open=AZ1shZ2H0YMKf6I9cMh1&pullRequest=17448
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 108).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ1shZ380YMKf6I9cMiA&open=AZ1shZ380YMKf6I9cMiA&pullRequest=17448
sonarqubecloud / SonarCloud Code Analysis
Abbreviation in name 'needCloneTimesAndIndicesInWorkingTVList' must contain no more than '2' consecutive capital letters.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ1shZ380YMKf6I9cMiC&open=AZ1shZ380YMKf6I9cMiC&pullRequest=17448
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=AZ1shZ2b0YMKf6I9cMh2&open=AZ1shZ2b0YMKf6I9cMh2&pullRequest=17448
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 28 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ1shZ1W0YMKf6I9cMhv&open=AZ1shZ1W0YMKf6I9cMhv&pullRequest=17448
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ1shZ5Z0YMKf6I9cMiE&open=AZ1shZ5Z0YMKf6I9cMiE&pullRequest=17448
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=AZ1shZ3P0YMKf6I9cMh6&open=AZ1shZ3P0YMKf6I9cMh6&pullRequest=17448
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ1shZ2H0YMKf6I9cMhz&open=AZ1shZ2H0YMKf6I9cMhz&pullRequest=17448
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=AZ1shZ2w0YMKf6I9cMh4&open=AZ1shZ2w0YMKf6I9cMh4&pullRequest=17448
sonarqubecloud / SonarCloud Code Analysis
Rename "dataTypes" which hides the field declared at line 69.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ1shZ3m0YMKf6I9cMh8&open=AZ1shZ3m0YMKf6I9cMh8&pullRequest=17448
sonarqubecloud / SonarCloud Code Analysis
Distance between variable 'time' declaration and its first usage is 7, 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=AZ1shZ3m0YMKf6I9cMh_&open=AZ1shZ3m0YMKf6I9cMh_&pullRequest=17448
sonarqubecloud / SonarCloud Code Analysis
Remove the "transient" modifier from this field.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ1shZ0j0YMKf6I9cMhr&open=AZ1shZ0j0YMKf6I9cMhr&pullRequest=17448
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 28 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ1shZ2H0YMKf6I9cMh0&open=AZ1shZ2H0YMKf6I9cMh0&pullRequest=17448
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 78 to 64, Complexity from 19 to 14, Nesting Level from 3 to 2, Number of Variables from 12 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ1shZ3P0YMKf6I9cMh7&open=AZ1shZ3P0YMKf6I9cMh7&pullRequest=17448
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=AZ1shZ2H0YMKf6I9cMhx&open=AZ1shZ2H0YMKf6I9cMhx&pullRequest=17448
sonarqubecloud / SonarCloud Code Analysis
Line is longer than 100 characters (found 108).
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ1shZ380YMKf6I9cMiB&open=AZ1shZ380YMKf6I9cMiB&pullRequest=17448