Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[java] Make LawOfDemeter not use the rulechain #4238

Merged
merged 1 commit into from
Dec 1, 2022

Conversation

oowekyala
Copy link
Member

Describe the PR

In pmd 7 LawOfDemeter uses the rulechain, which makes it faster, but since the rule is stateful, its violations are also unstable, because the rulechain does not define a visitation order.

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)

@oowekyala oowekyala added this to the 7.0.0 milestone Nov 26, 2022
@ghost
Copy link

ghost commented Nov 26, 2022

2 Messages
📖 Compared to pmd/7.0.x:
This changeset changes 27 violations,
introduces 55 new violations, 0 new errors and 0 new configuration errors,
removes 22 violations, 9 errors and 0 configuration errors.
Full report
📖 Compared to master:
This changeset changes 7851 violations,
introduces 7911 new violations, 2 new errors and 0 new configuration errors,
removes 111657 violations, 6 errors and 7 configuration errors.
Full report

Generated by 🚫 Danger

@adangel adangel merged commit 19757ad into pmd:pmd/7.0.x Dec 1, 2022
@oowekyala oowekyala deleted the fix-lawofdemeter-ordering branch December 1, 2022 17:17
@adangel adangel mentioned this pull request Jan 23, 2023
55 tasks
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.

2 participants