next up previous contents
Next: Total LOC Up: Functional and Performance Requirements Previous: Functional and Performance Requirements

Summary report

The summary report is a text output of complexity metrics from the input file. Each of these can be turned on or off from the command line.

Here is an example summary report on a very simple file using the default options:

Summary Report for mockup.c :

Analysis Options Specified:

C : Display Comprehensive Conditional Logic Listing
L : Display Total Lines of Code
T : Display Total Lines of Conditional Compilation Logic
V : Display V(g) and V'(g) for Conditional Logic

Code Analysis Summary:

        Total Lines of Code:                49
        Total Lines of CC Logic:            12
        Total V(g) for CCDs:                 6
        Total V'(g) for CCDs:                6

Complete Conditional Logic Listing:

Line#   CCD             Expression
----------------------------------------------
   21   #ifndef         FOO
   25   #else
   28   #endif
   31   #ifdef          N
   32   #if             N == 42
   34   #elif           N == 13
   36   #else
   39   #ifndef         TIME
   41   #endif
   42   #endif
   43   #else
   47   #endif

*** End of Analysis Summary ***