next up previous contents
Next: Limitations of Use Up: Conditional Compilation Analyzer User's Previous: Man Page

Introduction and Intended Use

cca takes input from a C source file infile and analyzes the complexity of the conditional compilation logic in that file. The output of the program is a summary report containing complexity metrics (written to outfile) and a graphical structure chart of the logic (written to graphfile). The structure chart shows the ``name'' and/or constant expression used at each conditional node, which line number(s) the #directive is on, and the number of lines of code within each code block. The summary report contains the total lines of code in the file, the number of lines of conditional compilation logic, McCabe's V(g) and V'(g) for the conditional compilation logic, a list and the number of conditional directives used, and a list and the number of names and constant expressions used.