pkgsrc/devel/pmccabe/DESCR
agc c0cb2b0656 Initial import of pmccabe-2.2-3 into the Packages Collection, suggested
by Mike Cheponis.

	pmccabe processes the named files, or standard input if none
	are named, calculating statistics including McCabe cyclomatic
	complexity for each function found.  The files are expected to
	be either C (ANSI or K&R) or C++.

	pmccabe ignores all cpp preprocessor directives - calculating
	the complexity of the appearance of the code rather than the
	complexity after the preprocessor mangles the code.  This is
	especially important since simple things like getchar(3)
	expand into macros which increase complexity.
2005-02-24 11:19:00 +00:00

10 lines
508 B
Text

pmccabe processes the named files, or standard input if none are
named, calculating statistics including McCabe cyclomatic complexity
for each function found. The files are expected to be either C (ANSI
or K&R) or C++.
pmccabe ignores all cpp preprocessor directives - calculating the
complexity of the appearance of the code rather than the complexity
after the preprocessor mangles the code. This is especially important
since simple things like getchar(3) expand into macros which increase
complexity.