next up previous contents
Next: Specific Process Descriptions Up: Architectural Design Previous: Structure Chart

User Interface Description

The user calls the cca from the command line, specifying metrics to be calculated, the file to evaluate, and the files to write the summary report and graphical output to. The following is the usage statement for the program:

cca usage:
             cca <option>* -f infile
             cca -h | -help | -?

                 option ::=  -{CcDdEeLlTtVv}+
                           | -g[p|1|2|4|8|16] <graphfile>
                           | -o <outfile>
A typical call to the program (using the default flags) will look something like this:
cca -o foo.out -g foo.ps -f foo.c
This will analyze the C file foo.c, output the summary report to the text file foo.out, and output the graphical structure chart to the PostScript file foo.ps.