[previous] 4150 [next] The identifier '%s' may cause confusion because it contains only the letter 'l' and and the number '1'.
Identifiers

This identifier contains the characters 'l' and '1' only.

Names such as l1, ll1 l1l can cause great confusion because the letter 'l' and the number '1' are so similar.

For example:


/*PRQA S 3211,3408 ++*/

int    l;                                /* Message 4150 */
int    ll;                               /* Message 4150 */
int    l1;                               /* Message 4150 */
int    lll;                              /* Message 4150 */
int    ll1;                              /* Message 4150 */
int    l1l;                              /* Message 4150 */
int    l11;                              /* Message 4150 */


No MISRA C:2012 Rules applicable to message 4150


See also:

QA·C Source Code Analyser 8.1
MISRA C:2012 Compliance Module 1.0
© 2012 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index | MISRA C:2012 Rule Index Contents