larshp / abapOpenChecks

Open source checks for SAP Code Inspector / ABAP Test Cockpit
https://docs.abapopenchecks.org
MIT License
270 stars 79 forks source link

Check 34 ignores single line comments #1121

Closed zmsMarc closed 11 months ago

zmsMarc commented 11 months ago

When ignoring comments for check 34 the current logic always counts 1 line less than there is in the code.

lv_comment_lines = lv_comment_lines + <ls_statement>-to

Example: Single line comment starts and ends in line 43 -> 0 comments