- Notifications
You must be signed in to change notification settings - Fork76
Closed
Description
Language Usage / Control Structures / CASE ...
Avoid inverting boolean checks
fromSonarQube
Boolean checks should not be inverted
It is needlessly complex to invert the result of a boolean comparison. The opposite comparison should be made instead.
Noncompliant Code Example
IF NOT x<> y THEN-- ...END IF;
Compliant Solution
IF x= y THEN-- ...END IF;