- Tags:
- analysis
- control structure
- if
CA028 - Combine two if instructions
Description
Two nested instructions, both not having an else clause, could be combined into a single if instruction using the
- Scope InstructionStatus EnabledSeverity SuggestionApplicability AllScore 40
Example of violation
Recommendation
Combine the nested if instructions using
Back to Rules