next up previous contents
Next: Full Output Up: Operational Walkthrough Previous: Usage Statement

Summary Report


scenario

A typical first run on a C file will be to run the CCA with its default flags and output the summary report to STDOUT and not output the graph.



usage

cca -f foo.c



results

The program outputs each step it goes through (the first three lines below) then outputs the summary report.

Processing file...
Verifying conditional logic...
Generating report...

Summary Report for foo.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:                30
        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
----------------------------------------------
    2   #ifndef         FOO
    6   #else
    9   #endif
   12   #ifdef          N
   13   #if             N == 42
   15   #elif           N == 13
   17   #else
   20   #ifndef         TIME
   22   #endif
   23   #endif
   24   #else
   28   #endif

*** End of Analysis Summary ***
Done!