CERT.LITERAL.ARRAY

Literal value used to define the size of an array, use meaningful symbolic constants to represent literal values.

Vulnerability and risk

Use of literal constants can reduce the readability and maintainability of the source code

Prevention

Use named constants to clearly define the meaning of constants