
This directory holds a collection of tools which gather various 
static measures from C source code, primarily size and complexity
of various types (lines of code, Halstead, McCabe).

metrics:A collection of tools (control/halstead/kdsi/mccabe)
	put together by Brian Renaud around 1989.

csize:	A tool to measure the size of C programs, written by
	Christopher Lott in 1994.

cyclo:	A tool to analyze cyclomatic complexity of a piece of ANSI
        C or C++ code, written by Roger Binns in 1993.   Can generate
        a postscript flowgraph of the functions.

lc:	A tool to count lines of code in C files, written by
	Brian Marick in 1983 and updated 1992.

metre:	A rule-based software metrics tool for standard C,
	written by Paul Long in 1994. 

spr:	A tool to measure NCSS for C source programs, written 
	by Ted Shapin in 1989.

Mas:	Mas is a maintainability assessment tool for analyzing C programs
	that was developed under the sponsorship of Hewlett-Packard
	Corporate Engineering at the University of Idaho in 1992.


Compiled by Christopher Lott <lott@informatik.uni-kl.de>

---

Comments about building and using the tools:

I sucessfully built all of them using gcc on a sun using SunOS 4.1.3.
For packages 'csize' and 'metre', the authors went to considerable
trouble to write portable code and flexible Makefiles.  For cyclo 
and c-metr-pkg, no such effort was made, and consequently I had to
monkey with some makefiles.  Packages lc and spr are relatively simple
and should not present any problems. 

However, I have not used all of the tools extensively, so unfortunately 
I can't make any helpful statements about reliability or ease of use.
