CertCRecommendations-MSCΒΆ
Miscellaneous
Nested Rules
Compile cleanly at high warning levels |
|
Strive for logical completeness |
|
Use comments consistently and in a readable fashion |
|
Do not manipulate time_t typed values directly |
|
Beware of compiler optimizations |
|
Character encoding: Use subset of ASCII for safety |
|
Detect and remove code that has no effect or is never executed |
|
Detect and remove unused values |
|
Do not introduce unnecessary platform dependencies |
|
Do not depend on undefined behavior |
|
Finish every set of statements associated with a case label with a break statement |
|
For functions that return an array, prefer returning an empty array over a null value |
|
Do not use a switch statement to transfer control into a complex block |
|
Use robust loop termination conditions |
|
Do not use deprecated or obsolescent functions |
Options
Setting an option for this rule means setting the default for all nested rules.
This rule shares the following common options: confidence, exclude_in_macros, exclude_messages_in_system_headers, excludes, extend_exclude_to_macro_invocations, includes, justification_checker, languages, post_processing, provider, report_at, severity
The following places define options that affect this rule: Stylechecks, Analysis-GlobalOptions
This rule has no individual options.