Inspectopedia Help

Simplifiable statement

Reports the parts of the code that can be simplified, for example, constant conditions, identical if branches, pointless boolean expressions, and so on.

Inspection options

Option

Type

Default

Simplify "condition == true"

Checkbox

true

Simplify "condition1 ? true : condition2"

Checkbox

false

Inspection Details

Available in:

AppCode 2023.3

Plugin:

AppCode, 2023.3

Last modified: 13 July 2023