Path to this page:
./
devel/pmccabe,
Measures the McCabe cyclomatic complexity of C and C++
Branch: pkgsrc-2021Q3,
Version: 2.5,
Package name: pmccabe-2.5,
Maintainer: pkgsrc-userspmccabe 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:
SHA1: cdf653dbb5198e2ea9c1581ac700b8289a365e14
RMD160: 11e11e17df758f371ad77ef30cb5f27a749aefa9
Filesize: 55.667 KB
Version history: (Expand)
- (2021-09-28) Package added to pkgsrc.se, version pmccabe-2.5 (created)