Inspectopedia Help

Overly complex arithmetic expression

Reports arithmetic 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 an arithmetic 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