Search code examples
cklocwork

Klocwork & c - The number of lines of source code actually used


My project is made out of lots of bits and pieces of older code.

How do I know how many lines of code were actually used?

Can Klocwork provide me this answer? I've noticed that Klocwork holds the number of line (SLOC) in the project - but is it the number of actual lines used - or can it include "dead code" areas?

Thanks,

Moshe


Solution

  • Klocwork SLOC count will include dead code areas. But Klocwork can also find dead code.