Load: Harden LOAD TSFILE authorization and source path validation #17624
SonarQubeCloud / SonarCloud Code Analysis
succeeded
May 9, 2026 in 2m 43s
Quality Gate passed
Annotations
sonarqubecloud / SonarCloud Code Analysis
A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 130 to 64, Complexity from 15 to 14, Nesting Level from 5 to 2, Number of Variables from 18 to 6.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ4LCcEOVueSi9KN__S6&open=AZ4LCcEOVueSi9KN__S6&pullRequest=17624
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "load_tsfile_allowed_dirs" 3 times.
See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AZ4LCcGGVueSi9KN__S7&open=AZ4LCcGGVueSi9KN__S7&pullRequest=17624
Loading