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

General Kotlin PMD7 test rule FunctionNameTooShort shows incorrectly as from PMD-jPinpoint Kotlin repository #346

Open
jborgers opened this issue Aug 10, 2022 · 2 comments

Comments

@jborgers
Copy link
Owner

Screenshot 2022-08-10 at 15 10 26

@jborgers
Copy link
Owner Author

image

@jborgers
Copy link
Owner Author

jborgers commented Jan 12, 2023

This happend because the custom kotlin rules used that repository name and the key is used to identify the repository. It should currently be the same key, otherwise the rules don't get used. The name taken seems to depend on class loading time or so, can end up being either of them (from this plugin or from the custom plugin.)
Better would be to facilitate different repositories, with different keys, being included in the ruleset to scan with.

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

No branches or pull requests

1 participant