Added database check for flush on local & Optimized the UTF-8 param in IT #17365
Quality Gate failed
Failed conditions
5.4% Duplication on New Code (required ≤ 5%)
Annotations
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 89 to 64, Complexity from 27 to 14, Nesting Level from 4 to 2, Number of Variables from 9 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ0oaF9wGCUUzfFYwnFB&open=AZ0oaF9wGCUUzfFYwnFB&pullRequest=17365
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 178 to 64, Complexity from 21 to 14, Nesting Level from 4 to 2, Number of Variables from 22 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ0oaF8NGCUUzfFYwnE_&open=AZ0oaF8NGCUUzfFYwnE_&pullRequest=17365
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=AZ0oaFzAGCUUzfFYwnE-&open=AZ0oaFzAGCUUzfFYwnE-&pullRequest=17365
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 81 to 64, Complexity from 29 to 14, Nesting Level from 4 to 2, Number of Variables from 10 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ0oaF9wGCUUzfFYwnFA&open=AZ0oaF9wGCUUzfFYwnFA&pullRequest=17365