Tile stats #1346
Triggered via pull request
September 19, 2023 10:38
Status
Success
Total duration
6m 11s
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 1s
Annotations
8 warnings
MINOR CODE_SMELL:
planetiler-core/src/main/java/com/onthegomap/planetiler/Planetiler.java#L95
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 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/TilesetSummaryStatistics.java#L132
Refactor this code to use the more specialised Functional Interface 'IntFunction<String>'
rule: java:S4276 (https://sonarcloud.io/organizations/onthegomap/rules?open=java%3AS4276&rule_key=java%3AS4276)
issue url: https://sonarcloud.io/project/issues?pullRequest=656&open=AYqi3lxqOF_lKUTFNOI2&id=onthegomap_planetiler
|
MINOR CODE_SMELL:
planetiler-core/src/main/java/com/onthegomap/planetiler/util/TopOsmTiles.java#L86
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=656&open=AYqq_pPPFvuVc1a3XJ1r&id=onthegomap_planetiler
|