Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Formatting fix; NFC

...

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

EXP17-C

lowLow

likelyLikely

lowLow

P3

L3

Automated Detection

Tool

Version

Checker

Description

Coverity

Include Page
Coverity_V
Coverity_V

CONSTANT_EXPRESSION_RESULT

Can detect the specific instance where bitwise operator is used in place of logical operator, or vice versa. The behavior might be desirable in some situations, so further verification is necessary

PRQA QA-C
Include Page
PRQA QA-C_v
PRQA QA-C_v
3344,4502 

...