Method has too many arguments

CachéQuality release 
1.0.0
Id 
OS0008
Rule type 
Severity 

Major

Major
SQALE characteristic 
  • Efficiency
    • Efficiency compliance
Tags 
design, maintainability, performance
Remediation function 
Constant/issue
Remediation cost 
16h

A method with too many arguments is hard to read and maintain.

Moreover, it is often the case that a method with too many arguments is also too complex. It is therefore strongly recommended to refactor the code in order to avoid this issue.