Skip to content

matcher

matcher #953

Triggered via pull request February 27, 2025 13:02
@wipfliwipfli
synchronize #399
wipfli:matcher
Status Success
Total duration 1m 27s
Artifacts

sonar.yml

on: pull_request
Analyze with Sonar
1m 16s
Analyze with Sonar
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
MINOR CODE_SMELL: src/main/java/com/protomaps/basemap/feature/Matcher.java#L62
Use the record pattern instead of this pattern match variable. rule: java:S6878 (https://sonarcloud.io/organizations/protomaps/rules?open=java%3AS6878&rule_key=java%3AS6878) issue url: https://sonarcloud.io/project/issues?pullRequest=399&open=AZVB6bvkddrF0GL_8ftI&id=protomaps_basemaps
MAJOR CODE_SMELL: src/main/java/com/protomaps/basemap/feature/Matcher.java#L185
Replace the chain of if/else with a switch expression. rule: java:S6880 (https://sonarcloud.io/organizations/protomaps/rules?open=java%3AS6880&rule_key=java%3AS6880) issue url: https://sonarcloud.io/project/issues?pullRequest=399&open=AZVB6bvkddrF0GL_8ftJ&id=protomaps_basemaps
MINOR CODE_SMELL: src/main/java/com/protomaps/basemap/feature/Matcher.java#L187
Use the record pattern instead of this pattern match variable. rule: java:S6878 (https://sonarcloud.io/organizations/protomaps/rules?open=java%3AS6878&rule_key=java%3AS6878) issue url: https://sonarcloud.io/project/issues?pullRequest=399&open=AZVB6bvkddrF0GL_8ftK&id=protomaps_basemaps
CRITICAL CODE_SMELL: src/main/java/com/protomaps/basemap/feature/Matcher.java#L197
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. rule: java:S3776 (https://sonarcloud.io/organizations/protomaps/rules?open=java%3AS3776&rule_key=java%3AS3776) issue url: https://sonarcloud.io/project/issues?pullRequest=399&open=AZVB6bvkddrF0GL_8ftL&id=protomaps_basemaps
MAJOR CODE_SMELL: src/main/java/com/protomaps/basemap/feature/Matcher.java#L202
Replace the chain of if/else with a switch expression. rule: java:S6880 (https://sonarcloud.io/organizations/protomaps/rules?open=java%3AS6880&rule_key=java%3AS6880) issue url: https://sonarcloud.io/project/issues?pullRequest=399&open=AZVB6bvkddrF0GL_8ftM&id=protomaps_basemaps
MINOR CODE_SMELL: src/main/java/com/protomaps/basemap/feature/Matcher.java#L204
Use the record pattern instead of this pattern match variable. rule: java:S6878 (https://sonarcloud.io/organizations/protomaps/rules?open=java%3AS6878&rule_key=java%3AS6878) issue url: https://sonarcloud.io/project/issues?pullRequest=399&open=AZVB6bvkddrF0GL_8ftQ&id=protomaps_basemaps
CRITICAL CODE_SMELL: src/main/java/com/protomaps/basemap/feature/Matcher.java#L218
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. rule: java:S3776 (https://sonarcloud.io/organizations/protomaps/rules?open=java%3AS3776&rule_key=java%3AS3776) issue url: https://sonarcloud.io/project/issues?pullRequest=399&open=AZVB6bvkddrF0GL_8ftO&id=protomaps_basemaps
MAJOR CODE_SMELL: src/main/java/com/protomaps/basemap/feature/Matcher.java#L222
Replace the chain of if/else with a switch expression. rule: java:S6880 (https://sonarcloud.io/organizations/protomaps/rules?open=java%3AS6880&rule_key=java%3AS6880) issue url: https://sonarcloud.io/project/issues?pullRequest=399&open=AZVB6bvkddrF0GL_8ftP&id=protomaps_basemaps
MINOR CODE_SMELL: src/main/java/com/protomaps/basemap/feature/Matcher.java#L224
Use the record pattern instead of this pattern match variable. rule: java:S6878 (https://sonarcloud.io/organizations/protomaps/rules?open=java%3AS6878&rule_key=java%3AS6878) issue url: https://sonarcloud.io/project/issues?pullRequest=399&open=AZVB6bvkddrF0GL_8ftN&id=protomaps_basemaps
MAJOR CODE_SMELL: src/main/java/com/protomaps/basemap/feature/Matcher.java#L243
Replace the chain of if/else with a switch expression. rule: java:S6880 (https://sonarcloud.io/organizations/protomaps/rules?open=java%3AS6880&rule_key=java%3AS6880) issue url: https://sonarcloud.io/project/issues?pullRequest=399&open=AZVB6bvkddrF0GL_8ftR&id=protomaps_basemaps