Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When the second and third operands of a conditional expression have different types, they can be subject to unexpected type conversions.

Guideline Recommendation

Severity

Likelihood

Remediation Cost

Priority

Level

EXP14EXP12-J

low

unlikely

medium

P2

L3

Automated Detection

Automated detection of condition expressions whose second and third operands are of different types is straightforward.

...