Line and Statement Counting Metrics
Understand has many different metrics, including a large number that focus on counting the number of statements and lines of code, including Lines of Code (LOC or SLOC), Lines with Comments (CLOC), empty lines (BLOC), Number of Statements, Number of Executable Statements, etc.
The short C/C++ example below shows how each line and statement contribute to these metrics in Understand. You can view the larger version here.
July 21st, 2010 at 11:45 pm
sir,
how can i get pre-rocessor line of code from understand tool metrics?
July 22nd, 2010 at 1:13 pm
You can get the metrics via Metrics->Export Metrics, then select CountLinePreproccesor and export the metrics.
Regards,
KevinG