Tile stats #1324
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
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
|