The counter counts new lines in a string as a lines of code.
E.g. some printed messages:
echo "Some text - line 1
Some text - line 2
Some text - line 3
Some text - line 4
Some text - line 5"
Result: Selected code: 5
Expected result: Selected code: 1
In my opinion, the string should be treated as the one line of code no matter how many new lines it has.
The counter counts new lines in a string as a lines of code. E.g. some printed messages: echo "Some text - line 1 Some text - line 2 Some text - line 3 Some text - line 4 Some text - line 5" Result: Selected code: 5 Expected result: Selected code: 1 In my opinion, the string should be treated as the one line of code no matter how many new lines it has.