Skip to content

[java] NPathComplexity can't handle switch expressions - #2631

Merged
adangel merged 7 commits into
pmd:masterfrom
adangel:issue-2625
Jul 24, 2020
Merged

adangel merged 7 commits into
pmd:masterfrom
adangel:issue-2625

Conversation

@adangel

@adangel adangel commented Jul 3, 2020

Copy link
Copy Markdown
Member

Describe the PR

Add support for multiple case labels, switch expressions and switch blocks in NPATH and CYCLO metrics.

Related issues

Ready?

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

@adangel adangel added this to the 6.26.0 milestone Jul 3, 2020
@ghost

ghost commented Jul 3, 2020 •

Copy link
Copy Markdown
1 Message
📖 This changeset introduces 0 new violations, 0 new errors and 0 new configuration errors,
removes 0 violations, 0 errors and 0 configuration errors.
Full report
✅ This changeset introduces 0 new violations, 0 new errors and 0 new configuration errors,
removes 0 violations, 0 errors and 0 configuration errors.
Full report
✅ This changeset introduces 0 new violations, 0 new errors and 0 new configuration errors,
removes 0 violations, 0 errors and 0 configuration errors.
Full report

Generated by 🚫 Danger

@adangel

adangel commented Jul 23, 2020

Copy link
Copy Markdown
Member Author

@oowekyala Thanks for the review! I think, that's ready now. Let me know, if you want to merge, or whether I should do it.

@adangel
adangel merged commit 4444ef2 into pmd:master Jul 24, 2020
@adangel
adangel deleted the issue-2625 branch July 24, 2020 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[java] NPathComplexity can't handle switch expressions

2 participants