Description and Code for Avoid methods with too many parameters Do Not Match
The description of rule Avoid methods with too many parameters says "This rule matches methods with more than 8 parameters.". The source code finds all methods with greater than 6 parameters.
warnif count > 0 from m in JustMyCode.Methods where
m.NbParameters >= 7
1
vote
James
shared this idea
-
Fixed thanks