Skip to content

215 deterministic ordering v2 #1448

215 deterministic ordering v2

215 deterministic ordering v2 #1448

Triggered via pull request October 30, 2023 09:00
Status Success
Total duration 6m 24s
Artifacts

sonar.yml

on: pull_request
Analyze with Sonar
6m 14s
Analyze with Sonar
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
MAJOR CODE_SMELL: planetiler-core/src/main/java/com/onthegomap/planetiler/collection/ArraySortableFeatureMinHeap.java#L182
Return an empty array instead of null. rule: java:S1168 (https://sonarcloud.io/organizations/onthegomap/rules?open=java%3AS1168&rule_key=java%3AS1168) issue url: https://sonarcloud.io/project/issues?pullRequest=382&open=AYt_1a50S8igVupfOUGm&id=onthegomap_planetiler
MINOR CODE_SMELL: planetiler-core/src/main/java/com/onthegomap/planetiler/collection/ArraySortableFeatureMinHeap.java#L230
Reduce the total number of break and continue statements in this loop to use at most one. rule: java:S135 (https://sonarcloud.io/organizations/onthegomap/rules?open=java%3AS135&rule_key=java%3AS135) issue url: https://sonarcloud.io/project/issues?pullRequest=382&open=AYt_1a50S8igVupfOUGl&id=onthegomap_planetiler
MAJOR CODE_SMELL: planetiler-core/src/main/java/com/onthegomap/planetiler/collection/ArraySortableFeatureMinHeap.java#L254
This branch's code block is the same as the block for the branch on line 251. rule: java:S1871 (https://sonarcloud.io/organizations/onthegomap/rules?open=java%3AS1871&rule_key=java%3AS1871) issue url: https://sonarcloud.io/project/issues?pullRequest=382&open=AYt_1a50S8igVupfOUGn&id=onthegomap_planetiler
MINOR CODE_SMELL: planetiler-core/src/main/java/com/onthegomap/planetiler/collection/SortableFeatureMerger.java#L19
Replace this type parametrization by the 'final' type `SortableFeature`. rule: java:S4968 (https://sonarcloud.io/organizations/onthegomap/rules?open=java%3AS4968&rule_key=java%3AS4968) issue url: https://sonarcloud.io/project/issues?pullRequest=382&open=AYt_1a53S8igVupfOUGo&id=onthegomap_planetiler
MINOR CODE_SMELL: planetiler-core/src/main/java/com/onthegomap/planetiler/collection/SortableFeatureMerger.java#L24
Replace this type parametrization by the 'final' type `SortableFeature`. rule: java:S4968 (https://sonarcloud.io/organizations/onthegomap/rules?open=java%3AS4968&rule_key=java%3AS4968) issue url: https://sonarcloud.io/project/issues?pullRequest=382&open=AYt_1a53S8igVupfOUGp&id=onthegomap_planetiler
MINOR CODE_SMELL: planetiler-core/src/main/java/com/onthegomap/planetiler/collection/SortableFeatureMerger.java#L34
Replace this type parametrization by the 'final' type `SortableFeature`. rule: java:S4968 (https://sonarcloud.io/organizations/onthegomap/rules?open=java%3AS4968&rule_key=java%3AS4968) issue url: https://sonarcloud.io/project/issues?pullRequest=382&open=AYt_1a53S8igVupfOUGq&id=onthegomap_planetiler
MINOR CODE_SMELL: planetiler-core/src/main/java/com/onthegomap/planetiler/collection/SortableFeatureMerger.java#L85
Replace this type parametrization by the 'final' type `SortableFeature`. rule: java:S4968 (https://sonarcloud.io/organizations/onthegomap/rules?open=java%3AS4968&rule_key=java%3AS4968) issue url: https://sonarcloud.io/project/issues?pullRequest=382&open=AYt_1a53S8igVupfOUGr&id=onthegomap_planetiler
MINOR CODE_SMELL: planetiler-core/src/main/java/com/onthegomap/planetiler/collection/SortableFeatureMerger.java#L166
Replace this type parametrization by the 'final' type `SortableFeature`. rule: java:S4968 (https://sonarcloud.io/organizations/onthegomap/rules?open=java%3AS4968&rule_key=java%3AS4968) issue url: https://sonarcloud.io/project/issues?pullRequest=382&open=AYt_1a53S8igVupfOUGs&id=onthegomap_planetiler
MAJOR CODE_SMELL: planetiler-core/src/test/java/com/onthegomap/planetiler/collection/ArraySortableFeatureMinHeapTest.java#L59
Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception. rule: java:S5778 (https://sonarcloud.io/organizations/onthegomap/rules?open=java%3AS5778&rule_key=java%3AS5778) issue url: https://sonarcloud.io/project/issues?pullRequest=382&open=AYt_1a5MS8igVupfOUGb&id=onthegomap_planetiler
MAJOR CODE_SMELL: planetiler-core/src/test/java/com/onthegomap/planetiler/collection/ArraySortableFeatureMinHeapTest.java#L60
Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception. rule: java:S5778 (https://sonarcloud.io/organizations/onthegomap/rules?open=java%3AS5778&rule_key=java%3AS5778) issue url: https://sonarcloud.io/project/issues?pullRequest=382&open=AYt_1a5MS8igVupfOUGc&id=onthegomap_planetiler