Skip to content

fix

a5e0e90
Select commit
Loading
Failed to load commit list.
Open
SonarQubeCloud / SonarCloud Code Analysis succeeded May 7, 2026 in 2m 51s

Annotations

Check warning on line 122 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/utils/TableDeviceLastValueCollector.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return an empty map instead of null.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ4A02T3kAyOY4xUzO_U&open=AZ4A02T3kAyOY4xUzO_U&pullRequest=17601

Check warning on line 2984 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/DataRegion.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 94 to 64, Complexity from 17 to 14, Nesting Level from 7 to 2, Number of Variables from 24 to 6.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ4BgxmT9lSl0wlgkKe-&open=AZ4BgxmT9lSl0wlgkKe-&pullRequest=17601

Check failure on line 472 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/parser/table/TsFileInsertionEventTableParserTabletIterator.java

See this annotation in the file changed.

@sonarqubecloud 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=AZ377Iy1BmOcEYzVqYQs&open=AZ377Iy1BmOcEYzVqYQs&pullRequest=17601

Check warning on line 3370 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/DataRegion.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 143 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=AZ4BgxmT9lSl0wlgkKe_&open=AZ4BgxmT9lSl0wlgkKe_&pullRequest=17601

Check warning on line 2546 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/DataRegion.java

See this annotation in the file changed.

@sonarqubecloud 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 19 to 14, Nesting Level from 5 to 2, Number of Variables from 17 to 6.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ4BgxmT9lSl0wlgkKe9&open=AZ4BgxmT9lSl0wlgkKe9&pullRequest=17601

Check warning on line 454 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/LoadTsFileManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 79 to 64, Complexity from 16 to 14, Nesting Level from 4 to 2, Number of Variables from 21 to 6.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ4A02efkAyOY4xUzO_W&open=AZ4A02efkAyOY4xUzO_W&pullRequest=17601

Check warning on line 589 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/load/LoadTsFileAnalyzer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 110 to 64, Complexity from 28 to 14, Nesting Level from 6 to 2, Number of Variables from 22 to 6.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ4AnVO4d3IZftKQfqD5&open=AZ4AnVO4d3IZftKQfqD5&pullRequest=17601

Check warning on line 737 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/load/LoadTsFileAnalyzer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Return an empty collection instead of null.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ4AnVO4d3IZftKQfqD4&open=AZ4AnVO4d3IZftKQfqD4&pullRequest=17601

Check failure on line 589 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/load/LoadTsFileAnalyzer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 85 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ377IqQBmOcEYzVqYQq&open=AZ377IqQBmOcEYzVqYQq&pullRequest=17601

Check warning on line 160 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/utils/TableDeviceLastValueCollector.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unnecessary cast to "long".

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ4A02T3kAyOY4xUzO_V&open=AZ4A02T3kAyOY4xUzO_V&pullRequest=17601

Check warning on line 396 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/parser/table/TsFileInsertionEventTableParserTabletIterator.java

See this annotation in the file changed.

@sonarqubecloud 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=AZ377Iy1BmOcEYzVqYQr&open=AZ377Iy1BmOcEYzVqYQr&pullRequest=17601