-
-
Notifications
You must be signed in to change notification settings - Fork 774
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
False negative TooManyFunctions if both ignorePrivate & ignoreDeprecated is set to true #1439
Comments
Hey, thanks for reporting and also for investigating the problem. |
Yes, I can do that next weekend. |
Cool, thank you! |
Closed with 86cfcfb |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topics. |
Expected Behavior
TooManyFunctions
should ignore private functions, if that option is set to true in config.Observed Behavior
TooManyFunctions
has false negative report on class with private methods count is more thanthresholdInClasses
option in detekt config, even ifignorePrivate
option is set to true.Steps to Reproduce
ignoreDeprecated
andignorePrivate
inTooManyFunctions
rule.thresholdInClasses
Your Environment
I guess, the problem is here,
isIgnoredFunction
don't check function privacy ifignoreDeprecated
is set to true, soignorePrivate
option is not being used.The text was updated successfully, but these errors were encountered: