Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: JAVASCRIPT-1.2
-
Component/s: JavaScript
-
Labels:None
-
Number of attachments :
Description
- Title
Avoid function with too many parameters
- Description
Long parameter lists can indicate that a new structure should be created to wrap the numerous parameters or that the function is doing to many things.
- Parameter
maximumFunctionParameters : The maximum authorized number of parameters.
Default value : 7
- Violation message
Function has a xx parameters which is greater than yy authorized.
- Default priority
Major
Part of Sonar Way quality profile
Issue Links
- is related to
-
SONARPLUGINS-2515
Update the SQALE mapping for new rules
-
Manually tested.