- Include an else clause too
- 50-80% of if statements should have one
- Account for both cases in testing
- Main goal is to reduce complexity
- Phrase things positively
- "I ain't not no undummy" - Homer Simpson
- Break complicated tests into partial tests
- Use literal
True
andFalse
values instead of1, 0
- Control flow complexity is correlated with
- Low reliability
- Frequent errors