GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix #5616: [apex] ExcessiveParameterList: Report only method signature by adangel · Pull Request #5617 · pmd/pmd

Conversation

@adangel

@adangel adangel commented Mar 21, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Describe the PR

  • This improves the test framework, so that we can assert line number ranges (begin line - end line)

Related issues

  • Fix [apex] ExcessiveParameterList reports entire method instead of signature only #5616

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)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@github-actions

github-actions Bot commented Mar 21, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Documentation Preview

Compared to main:
This changeset changes 0 violations,
introduces 0 new violations, 0 new errors and 0 new configuration errors,
removes 15 violations, 36 errors and 8 configuration errors.

Regression Tester Report

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

adangel added 2 commits March 22, 2025 09:25
@adangel
[test] Support asserting line number ranges
0fd4132
@adangel
[apex] ExcessiveParameterList: From method start until last parameter
045abb4
Fix pmd#5616
@adangel adangel mentioned this pull request Mar 22, 2025
With --auto-gen-config invalid rule references might be generated pmd/pmd-regression-tester#124
Closed
@adangel
adangel force-pushed the apex/issue-5616-ExcessiveParameterList branch from 34b091b to 045abb4 Compare March 22, 2025 08:28
@adangel
adangel marked this pull request as ready for review March 22, 2025 08:29
@adangel

adangel commented Mar 22, 2025

Copy link
Copy Markdown
Member Author

Note: due to pmd/pmd-regression-tester#124 there are removed violations in the report...

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@adangel adangel added this to the 7.12.0 milestone Mar 22, 2025
@adangel
Fix checkstyle
df746f5
@adangel
adangel merged commit 795e33a into pmd:main Mar 27, 2025
@adangel
adangel deleted the apex/issue-5616-ExcessiveParameterList branch March 27, 2025 15:47
This was referenced Oct 23, 2026
[apex] Fix #5906: MethodWithSameNameAsEnclosingClass range is too broad #7227
Closed
[apex] Fix #5669: Report ApexUnitTestMethodShouldHaveIsTestAnnotation only on the method signature #7228
Closed
[apex] Fix #5669: Report ApexUnitTestMethodShouldHaveIsTestAnnotation only on the method name #7263
Merged
[apex] Fix #5906: MethodWithSameNameAsEnclosingClass range is too broad #7264
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

7.12.0

Development

Successfully merging this pull request may close these issues.

[apex] ExcessiveParameterList reports entire method instead of signature only

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@adangel
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.