Search code examples
statisticsmetricscode-metricsline-count

Lines counted raw or nonblank noncomment


When the size of a code base is reported in lines, is it more usual/standard to report raw wc count, or nonblank noncomment lines? I'm not asking which measure should be used, only, if I see a number given with no other information, which measure it is at best guess more likely to be.


Solution

  • I'd say nonblank, noncomment lines. For many languages in the C family tree, this is approximately the number of semi-colons.