- All Implemented Interfaces:
- java.lang.Cloneable
@OpenApi
public class NumberOfParameters
extends com.nomagic.magicdraw.metrics.types.BasicType
Counts number of parameters in the signatures of class operations. Recommended that operation parameters
number shall not exceed 4. Methods with more than 3 parameters are harder to comprehend, use, and maintain,
invoking methods in source code tend to be error prone. Methods with a large number of parameters are often
harder to reuse because they tend to be more specialized. The average, minimum and maximum number of
class operations parameters may be counted.