Skip to content

IM-401 addressed some Sonar Issues#403

Open
markfee wants to merge 2 commits into
IM-360-reviewedfrom
IM-401
Open

IM-401 addressed some Sonar Issues#403
markfee wants to merge 2 commits into
IM-360-reviewedfrom
IM-401

IM-401 more sonar fixes

dda7db2
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 14, 2026 in 1m 5s

Quality Gate failed

Failed conditions
0.3% Coverage on New Code (required ≥ 90%)
1 New Major Issues (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 72 in plugins/datasets/src/registry/dataset.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=DEFRA_interactive-map&issues=AZ9ghWTbDOT93DBKFf-H&open=AZ9ghWTbDOT93DBKFf-H&pullRequest=403

Check warning on line 198 in plugins/datasets/src/adapters/esri/esriLayerAdapter.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=DEFRA_interactive-map&issues=AZ9ghWVaDOT93DBKFf-O&open=AZ9ghWVaDOT93DBKFf-O&pullRequest=403

Check warning on line 168 in plugins/datasets/src/adapters/maplibre/maplibreLayerAdapter.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `.some(…)` over non-zero length check from `.filter(…)`.

See more on https://sonarcloud.io/project/issues?id=DEFRA_interactive-map&issues=AZ9ghWU0DOT93DBKFf-M&open=AZ9ghWU0DOT93DBKFf-M&pullRequest=403

Check warning on line 160 in plugins/datasets/src/registry/dataset.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use null instead.

See more on https://sonarcloud.io/project/issues?id=DEFRA_interactive-map&issues=AZ9ghWTbDOT93DBKFf-I&open=AZ9ghWTbDOT93DBKFf-I&pullRequest=403

Check warning on line 17 in plugins/datasets/src/fetch/createDynamicSource.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 121 lines, which is greater than the 75 lines authorized. Split it into smaller functions.

See more on https://sonarcloud.io/project/issues?id=DEFRA_interactive-map&issues=AZ9ghWWZDOT93DBKFf-Z&open=AZ9ghWWZDOT93DBKFf-Z&pullRequest=403

Check warning on line 128 in plugins/datasets/src/registry/datasetRegistry.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=DEFRA_interactive-map&issues=AZ9ghWT-DOT93DBKFf-K&open=AZ9ghWT-DOT93DBKFf-K&pullRequest=403

Check warning on line 7 in plugins/datasets/src/registry/globalDataset.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=DEFRA_interactive-map&issues=AZ9ghWTtDOT93DBKFf-J&open=AZ9ghWTtDOT93DBKFf-J&pullRequest=403

Check warning on line 50 in plugins/datasets/src/initialise/initialiseDatasets.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=DEFRA_interactive-map&issues=AZ9ghWR2DOT93DBKFf-F&open=AZ9ghWR2DOT93DBKFf-F&pullRequest=403

Check warning on line 106 in plugins/datasets/src/adapters/maplibre/maplibreLayerAdapter.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=DEFRA_interactive-map&issues=AZ9ghWU0DOT93DBKFf-L&open=AZ9ghWU0DOT93DBKFf-L&pullRequest=403

Check warning on line 67 in plugins/datasets/src/registry/dataset.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=DEFRA_interactive-map&issues=AZ9ghWTbDOT93DBKFf-G&open=AZ9ghWTbDOT93DBKFf-G&pullRequest=403

Check warning on line 192 in plugins/datasets/src/adapters/esri/esriLayerAdapter.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=DEFRA_interactive-map&issues=AZ9ghWVaDOT93DBKFf-N&open=AZ9ghWVaDOT93DBKFf-N&pullRequest=403

Check warning on line 11 in plugins/datasets/src/adapters/loadLayerAdapter.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=DEFRA_interactive-map&issues=AZ9ghWVwDOT93DBKFf-P&open=AZ9ghWVwDOT93DBKFf-P&pullRequest=403