Reports duplicate conditions in && and || expressions and branches of an if statement. While sometimes intended, in most cases this is an oversight.

To ignore conditions that may produce side effects, use the Ignore conditions with side effects checkbox. Clearing this checkbox may lead to false-positives, for example, when the same method returns different values on subsequent invocations.

Examples: