Details
Description
Empty lines are properly excluded from ncloc count but as soon as there is a whitespace (ie the line in blank but not empty) then the line is counted as ncloc.
Except when we are in a CDATA bloc (including attribute) a blank/empty line should not be counted as ncloc.
Issue Links
- is related to
-
SONARPLUGINS-2623
Computation of ncloc/commented line count is wrong
-
For this first step every blank line will be ignored from ncloc even the one inside CDATA and attributes.