- feature property
CA011 - Too many arguments
A feature that has too many arguments should be avoided since it makes the class interface complicated and is not easy to use. The feature arguments may include options, which should be considered to be moved to separate features.
Scope feature Status Enabled Severity Warning Applicability All Score 50 Arguments threashold 4
Example of violation
Detect arguments that are really options and create procedures to set them.
In the example, one could write:
Back to Rules
cached: 03/24/2023 3:21:02.000 PM