Skip to content

Tile stats

Tile stats #1324

Triggered via pull request September 6, 2023 10:10
Status Success
Total duration 5m 38s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

sonar.yml

on: pull_request
Analyze with Sonar
5m 26s
Analyze with Sonar
Fit to window
Zoom out
Zoom in

Annotations

4 warnings
MAJOR CODE_SMELL: planetiler-core/src/main/java/com/onthegomap/planetiler/FeatureMerge.java#L115
Define and throw a dedicated exception instead of using a generic one. rule: java:S112 (https://sonarcloud.io/organizations/onthegomap/rules?open=java%3AS112&rule_key=java%3AS112) issue url: https://sonarcloud.io/project/issues?pullRequest=656&open=AYpp_i8WphhL-mgaFOW9&id=onthegomap_planetiler
MAJOR CODE_SMELL: planetiler-core/src/main/java/com/onthegomap/planetiler/FeatureMerge.java#L146
Define and throw a dedicated exception instead of using a generic one. rule: java:S112 (https://sonarcloud.io/organizations/onthegomap/rules?open=java%3AS112&rule_key=java%3AS112) issue url: https://sonarcloud.io/project/issues?pullRequest=656&open=AYpp_i8WphhL-mgaFOW-&id=onthegomap_planetiler
MAJOR BUG: planetiler-core/src/main/java/com/onthegomap/planetiler/archive/TileArchiveWriter.java#L279
A "NullPointerException" could be thrown; "proto" is nullable here. rule: java:S2259 (https://sonarcloud.io/organizations/onthegomap/rules?open=java%3AS2259&rule_key=java%3AS2259) issue url: https://sonarcloud.io/project/issues?pullRequest=656&open=AYpp_i6_phhL-mgaFOW7&id=onthegomap_planetiler
MAJOR BUG: planetiler-core/src/main/java/com/onthegomap/planetiler/util/TileStats.java#L38
Override equals, hashCode and toString to consider array's content in the method rule: java:S6218 (https://sonarcloud.io/organizations/onthegomap/rules?open=java%3AS6218&rule_key=java%3AS6218) issue url: https://sonarcloud.io/project/issues?pullRequest=656&open=AYpp_i2jphhL-mgaFOW6&id=onthegomap_planetiler