./devel/pmccabe, Measures the McCabe cyclomatic complexity of C and C++

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2007Q2, Version: 2.2.3, Package name: pmccabe-2.2.3, Maintainer: pkgsrc-users

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.


Master sites: (Expand)

SHA1: 5a05a04e50820cfab714017e0cd28c24a601f955
RMD160: 5c89fd12720159b9133ee6923ab6a91879b0ba13
Filesize: 53.701 KB

Version history: (Expand)