add tile-copy utility #1613
sonar.yml
on: pull_request
Analyze with Sonar
4m 27s
Annotations
7 warnings
MAJOR CODE_SMELL:
planetiler-core/src/main/java/com/onthegomap/planetiler/archive/TileArchiveWriter.java#L283
Remove this useless assignment to local variable "encoded".
rule: java:S1854 (https://sonarcloud.io/organizations/onthegomap/rules?open=java%3AS1854&rule_key=java%3AS1854)
issue url: https://sonarcloud.io/project/issues?pullRequest=772&open=AYzgYMBGsmsd5FM-20Zv&id=onthegomap_planetiler
|
MAJOR CODE_SMELL:
planetiler-core/src/main/java/com/onthegomap/planetiler/archive/TileCopy.java#L52
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=772&open=AYzgYMBZsmsd5FM-20Zw&id=onthegomap_planetiler
|
MINOR CODE_SMELL:
planetiler-core/src/main/java/com/onthegomap/planetiler/pmtiles/WriteablePmtiles.java#L61
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=772&open=AYzgYMBosmsd5FM-20Zz&id=onthegomap_planetiler
|
MAJOR CODE_SMELL:
planetiler-core/src/main/java/com/onthegomap/planetiler/stream/ReadableStreamArchive.java#L78
Either remove or fill this block of code.
rule: java:S108 (https://sonarcloud.io/organizations/onthegomap/rules?open=java%3AS108&rule_key=java%3AS108)
issue url: https://sonarcloud.io/project/issues?pullRequest=772&open=AYzgYMBdsmsd5FM-20Zy&id=onthegomap_planetiler
|
MAJOR CODE_SMELL:
planetiler-core/src/main/java/com/onthegomap/planetiler/stream/ReadableStreamArchive.java#L89
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=772&open=AYzgYMBdsmsd5FM-20Zx&id=onthegomap_planetiler
|
MAJOR CODE_SMELL:
planetiler-core/src/main/java/com/onthegomap/planetiler/util/Gzip.java#L16
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=772&open=AYzgYL_9smsd5FM-20Zt&id=onthegomap_planetiler
|
MAJOR CODE_SMELL:
planetiler-core/src/main/java/com/onthegomap/planetiler/util/Gzip.java#L29
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=772&open=AYzgYL_9smsd5FM-20Zu&id=onthegomap_planetiler
|