Max one statement per line

 home quick fix styleguide  single file   example  edit

max_one_statement

Description

Checks that each line contains only a single statement.

Extended Information

Does not report empty statements, use rule empty_statement for detecting empty statements.

Does not report anything for chained statements.

https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md#no-more-than-one-statement-per-line
https://docs.abapopenchecks.org/checks/11/

Default Configuration

Hover to see descriptions, Ctrl+Space for suggestions

Examples