Code Inspection: Overly complex function
Configure inspections: Settings | Editor | Inspections
Show intention actions: AltEnter
Reports a function with too many branching points in a function (too high cyclomatic complexity). Such functions may be confusing and hard to test.
Use the field provided below to specify the maximum acceptable cyclomatic complexity for a function.
Place the caret at the highlighted line and press AltEnter or click
.
Click the arrow next to the inspection you want to suppress and select the necessary suppress action.