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.
OS | Architecture | Version |
---|---|---|
NetBSD 10.0 | aarch64 | pmccabe-2.5.tgz |
NetBSD 10.0 | aarch64 | pmccabe-2.5.tgz |
NetBSD 10.0 | aarch64eb | pmccabe-2.5.tgz |
NetBSD 10.0 | aarch64eb | pmccabe-2.5.tgz |
NetBSD 10.0 | alpha | pmccabe-2.5.tgz |
NetBSD 10.0 | alpha | pmccabe-2.5.tgz |
NetBSD 10.0 | alpha | pmccabe-2.5.tgz |
NetBSD 10.0 | earmv4 | pmccabe-2.5.tgz |
NetBSD 10.0 | earmv4 | pmccabe-2.5.tgz |
NetBSD 10.0 | earmv6hf | pmccabe-2.5.tgz |
NetBSD 10.0 | earmv6hf | pmccabe-2.5.tgz |
NetBSD 10.0 | earmv6hf | pmccabe-2.5.tgz |
NetBSD 10.0 | earmv7hf | pmccabe-2.5.tgz |
NetBSD 10.0 | earmv7hf | pmccabe-2.5.tgz |
NetBSD 10.0 | earmv7hf | pmccabe-2.5.tgz |
NetBSD 10.0 | earmv7hf | pmccabe-2.5.tgz |
NetBSD 10.0 | i386 | pmccabe-2.5.tgz |
NetBSD 10.0 | i386 | pmccabe-2.5.tgz |
NetBSD 10.0 | i386 | pmccabe-2.5.tgz |
NetBSD 10.0 | powerpc | pmccabe-2.5.tgz |
NetBSD 10.0 | powerpc | pmccabe-2.5.tgz |
NetBSD 10.0 | powerpc | pmccabe-2.5.tgz |
NetBSD 10.0 | powerpc | pmccabe-2.5.tgz |
NetBSD 10.0 | sh3el | pmccabe-2.5.tgz |
NetBSD 10.0 | sh3el | pmccabe-2.5.tgz |
NetBSD 10.0 | sparc64 | pmccabe-2.5.tgz |
NetBSD 10.0 | sparc64 | pmccabe-2.5.tgz |
NetBSD 10.0 | sparc | pmccabe-2.5.tgz |
NetBSD 10.0 | sparc | pmccabe-2.5.tgz |
NetBSD 10.0 | vax | pmccabe-2.5.tgz |
NetBSD 10.0 | vax | pmccabe-2.5.tgz |
NetBSD 10.0 | x86_64 | pmccabe-2.5.tgz |
NetBSD 10.0 | x86_64 | pmccabe-2.5.tgz |
NetBSD 10.0 | x86_64 | pmccabe-2.5.tgz |
NetBSD 9.0 | aarch64 | pmccabe-2.5.tgz |
NetBSD 9.0 | aarch64 | pmccabe-2.5.tgz |
NetBSD 9.0 | aarch64 | pmccabe-2.5.tgz |
NetBSD 9.0 | alpha | pmccabe-2.5.tgz |
NetBSD 9.0 | alpha | pmccabe-2.5.tgz |
NetBSD 9.0 | earmv6hf | pmccabe-2.5.tgz |
NetBSD 9.0 | earmv6hf | pmccabe-2.5.tgz |
NetBSD 9.0 | earmv6hf | pmccabe-2.5.tgz |
NetBSD 9.0 | earmv6hf | pmccabe-2.5.tgz |
NetBSD 9.0 | earmv7hf | pmccabe-2.5.tgz |
NetBSD 9.0 | earmv7hf | pmccabe-2.5.tgz |
NetBSD 9.0 | earmv7hf | pmccabe-2.5.tgz |
NetBSD 9.0 | earmv7hf | pmccabe-2.5.tgz |
NetBSD 9.0 | i386 | pmccabe-2.5.tgz |
NetBSD 9.0 | i386 | pmccabe-2.5.tgz |
NetBSD 9.0 | i386 | pmccabe-2.5.tgz |
NetBSD 9.0 | m68k | pmccabe-2.5.tgz |
NetBSD 9.0 | powerpc | pmccabe-2.5.tgz |
NetBSD 9.0 | powerpc | pmccabe-2.5.tgz |
NetBSD 9.0 | powerpc | pmccabe-2.5.tgz |
NetBSD 9.0 | sparc64 | pmccabe-2.5.tgz |
NetBSD 9.0 | sparc64 | pmccabe-2.5.tgz |
NetBSD 9.0 | x86_64 | pmccabe-2.5.tgz |
NetBSD 9.0 | x86_64 | pmccabe-2.5.tgz |
NetBSD 9.0 | x86_64 | pmccabe-2.5.tgz |
NetBSD 9.3 | x86_64 | pmccabe-2.5.tgz |
NetBSD 9.3 | x86_64 | pmccabe-2.5.tgz |
Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.
The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.
Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.
Problem reports, updates or suggestions for this package should be reported with send-pr.