Skip to content

matcher

matcher #950

Triggered via pull request February 26, 2025 15:28
@wipfliwipfli
synchronize #399
wipfli:matcher
Status Success
Total duration 1m 46s
Artifacts

sonar.yml

on: pull_request
Analyze with Sonar
1m 33s
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#L61
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#L165
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#L167
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#L177
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#L182
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#L184
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
CRITICAL CODE_SMELL: src/main/java/com/protomaps/basemap/feature/Matcher.java#L198
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#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_8ftP&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
MAJOR CODE_SMELL: src/main/java/com/protomaps/basemap/feature/Matcher.java#L223
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