Skip to content

Tile stats

Tile stats #1336

Triggered via pull request September 15, 2023 10:36
@msbarrymsbarry
synchronize #656
tile-stats
Status Success
Total duration 7m 5s
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
6m 55s
Analyze with Sonar
Fit to window
Zoom out
Zoom in

Annotations

8 warnings
MINOR CODE_SMELL: planetiler-core/src/main/java/com/onthegomap/planetiler/Planetiler.java#L94
Remove the "layerStatsPath" field and declare it as a local variable in the relevant methods. rule: java:S1450 (https://sonarcloud.io/organizations/onthegomap/rules?open=java%3AS1450&rule_key=java%3AS1450) issue url: https://sonarcloud.io/project/issues?pullRequest=656&open=AYqYcGRQ_50aaKHwDaU2&id=onthegomap_planetiler
MAJOR BUG: planetiler-core/src/main/java/com/onthegomap/planetiler/archive/TileArchiveWriter.java#L325
A "NullPointerException" could be thrown; "bytes" 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=AYqYcGRt_50aaKHwDaU3&id=onthegomap_planetiler
MAJOR CODE_SMELL: planetiler-core/src/main/java/com/onthegomap/planetiler/mbtiles/Mbtiles.java#L507
Remove this call to a deprecated class, it has been marked for removal. rule: java:S5738 (https://sonarcloud.io/organizations/onthegomap/rules?open=java%3AS5738&rule_key=java%3AS5738) issue url: https://sonarcloud.io/project/issues?pullRequest=656&open=AYqYcGUs_50aaKHwDaU5&id=onthegomap_planetiler
MAJOR CODE_SMELL: planetiler-core/src/main/java/com/onthegomap/planetiler/mbtiles/Mbtiles.java#L507
Remove this call to a deprecated class, it has been marked for removal. rule: java:S5738 (https://sonarcloud.io/organizations/onthegomap/rules?open=java%3AS5738&rule_key=java%3AS5738) issue url: https://sonarcloud.io/project/issues?pullRequest=656&open=AYqYcGUs_50aaKHwDaU6&id=onthegomap_planetiler
MAJOR CODE_SMELL: planetiler-core/src/main/java/com/onthegomap/planetiler/mbtiles/Mbtiles.java#L518
Remove this call to a deprecated class, it has been marked for removal. rule: java:S5738 (https://sonarcloud.io/organizations/onthegomap/rules?open=java%3AS5738&rule_key=java%3AS5738) issue url: https://sonarcloud.io/project/issues?pullRequest=656&open=AYqYcGUs_50aaKHwDaU7&id=onthegomap_planetiler
MAJOR CODE_SMELL: planetiler-core/src/main/java/com/onthegomap/planetiler/mbtiles/Mbtiles.java#L518
Remove this call to a deprecated class, it has been marked for removal. rule: java:S5738 (https://sonarcloud.io/organizations/onthegomap/rules?open=java%3AS5738&rule_key=java%3AS5738) issue url: https://sonarcloud.io/project/issues?pullRequest=656&open=AYqYcGUs_50aaKHwDaU8&id=onthegomap_planetiler
MAJOR CODE_SMELL: planetiler-core/src/main/java/com/onthegomap/planetiler/mbtiles/Mbtiles.java#L542
Remove this call to a deprecated class, it has been marked for removal. rule: java:S5738 (https://sonarcloud.io/organizations/onthegomap/rules?open=java%3AS5738&rule_key=java%3AS5738) issue url: https://sonarcloud.io/project/issues?pullRequest=656&open=AYqYcGUs_50aaKHwDaU9&id=onthegomap_planetiler
MINOR CODE_SMELL: planetiler-core/src/main/java/com/onthegomap/planetiler/util/TileStats.java#L59
Remove the declaration of thrown exception 'java.io.IOException', as it cannot be thrown from method's body. rule: java:S1130 (https://sonarcloud.io/organizations/onthegomap/rules?open=java%3AS1130&rule_key=java%3AS1130) issue url: https://sonarcloud.io/project/issues?pullRequest=656&open=AYqYcGLo_50aaKHwDaU1&id=onthegomap_planetiler