Skip to content

Fix #5249 and #5250: [java] TooFewBranchesForSwitch ignore pattern matching and support switch expressions#5251

Merged
adangel merged 12 commits into
pmd:mainfrom
adangel:issue-5249-5250
Oct 24, 2024
Merged

Fix #5249 and #5250: [java] TooFewBranchesForSwitch ignore pattern matching and support switch expressions#5251
adangel merged 12 commits into
pmd:mainfrom
adangel:issue-5249-5250

Conversation

@adangel

@adangel adangel commented Oct 4, 2024

Copy link
Copy Markdown
Member

Describe the PR

This also renamed the rule from TooFewBranchesForASwitchStatement to TooFewBranchesForSwitch.

Related issues

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • Added (in-code) documentation (if needed)

@adangel adangel added this to the 7.7.0 milestone Oct 4, 2024
@ghost

ghost commented Oct 4, 2024

Copy link
Copy Markdown
1 Message
📖 Compared to main:
This changeset changes 0 violations,
introduces 390 new violations, 0 new errors and 0 new configuration errors,
removes 399 violations, 0 errors and 0 configuration errors.
Download full report as build artifact
Compared to main:
This changeset changes 0 violations,
introduces 414 new violations, 0 new errors and 0 new configuration errors,
removes 399 violations, 0 errors and 0 configuration errors.
Download full report as build artifact
Compared to main:
This changeset changes 0 violations,
introduces 390 new violations, 0 new errors and 0 new configuration errors,
removes 399 violations, 0 errors and 0 configuration errors.
Download full report as build artifact
Compared to main:
This changeset changes 0 violations,
introduces 410 new violations, 0 new errors and 0 new configuration errors,
removes 398 violations, 0 errors and 0 configuration errors.
Download full report as build artifact
Compared to main:
This changeset changes 0 violations,
introduces 410 new violations, 0 new errors and 0 new configuration errors,
removes 398 violations, 0 errors and 0 configuration errors.
Download full report as build artifact
Compared to main:
This changeset changes 0 violations,
introduces 410 new violations, 0 new errors and 0 new configuration errors,
removes 398 violations, 0 errors and 0 configuration errors.
Download full report as build artifact
Compared to main:
This changeset changes 0 violations,
introduces 413 new violations, 0 new errors and 0 new configuration errors,
removes 398 violations, 0 errors and 0 configuration errors.
Download full report as build artifact
Compared to main:
This changeset changes 0 violations,
introduces 413 new violations, 0 new errors and 0 new configuration errors,
removes 398 violations, 2 errors and 7 configuration errors.
Download full report as build artifact

Generated by 🚫 Danger

…/performance/xml/TooFewBranchesForSwitch.xml
Comment thread pmd-java/src/main/resources/category/java/performance.xml Outdated
@adangel adangel merged commit 3a501a0 into pmd:main Oct 24, 2024
@adangel adangel deleted the issue-5249-5250 branch October 24, 2024 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant