CERT.LITERAL.INT.CONST

Use of literal integer constant, use meaningful symbolic constants to represent literal values.

Checker highlights instances of literal constants excluding 0, 1 and const/static declarations.

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