Inspectopedia Help

Overly complex boolean expression

Reports boolean expressions with too many terms.

Such expressions may be confusing and bug-prone.

Use the Maximum number of terms field to specify the maximum number of terms allowed in a boolean expression.

Inspection options

Option

Type

Default

Maximum number of terms

Number

3

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3

Plugin:

Groovy, 233.SNAPSHOT

Last modified: 13 July 2023