devel/pmccabe - The NetBSD Packages Collection

Measures the McCabe cyclomatic complexity of C and C++

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.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64pmccabe-2.5.tgz
NetBSD 10.0aarch64pmccabe-2.5.tgz
NetBSD 10.0aarch64ebpmccabe-2.5.tgz
NetBSD 10.0aarch64ebpmccabe-2.5.tgz
NetBSD 10.0alphapmccabe-2.5.tgz
NetBSD 10.0alphapmccabe-2.5.tgz
NetBSD 10.0earmv4pmccabe-2.5.tgz
NetBSD 10.0earmv4pmccabe-2.5.tgz
NetBSD 10.0earmv6hfpmccabe-2.5.tgz
NetBSD 10.0earmv6hfpmccabe-2.5.tgz
NetBSD 10.0earmv6hfpmccabe-2.5.tgz
NetBSD 10.0earmv7hfpmccabe-2.5.tgz
NetBSD 10.0earmv7hfpmccabe-2.5.tgz
NetBSD 10.0earmv7hfpmccabe-2.5.tgz
NetBSD 10.0i386pmccabe-2.5.tgz
NetBSD 10.0i386pmccabe-2.5.tgz
NetBSD 10.0powerpcpmccabe-2.5.tgz
NetBSD 10.0powerpcpmccabe-2.5.tgz
NetBSD 10.0powerpcpmccabe-2.5.tgz
NetBSD 10.0sh3elpmccabe-2.5.tgz
NetBSD 10.0sh3elpmccabe-2.5.tgz
NetBSD 10.0sparc64pmccabe-2.5.tgz
NetBSD 10.0sparc64pmccabe-2.5.tgz
NetBSD 10.0sparcpmccabe-2.5.tgz
NetBSD 10.0sparcpmccabe-2.5.tgz
NetBSD 10.0vaxpmccabe-2.5.tgz
NetBSD 10.0vaxpmccabe-2.5.tgz
NetBSD 10.0vaxpmccabe-2.5.tgz
NetBSD 10.0x86_64pmccabe-2.5.tgz
NetBSD 10.0x86_64pmccabe-2.5.tgz
NetBSD 9.0aarch64pmccabe-2.5.tgz
NetBSD 9.0aarch64pmccabe-2.5.tgz
NetBSD 9.0alphapmccabe-2.5.tgz
NetBSD 9.0alphapmccabe-2.5.tgz
NetBSD 9.0earmv6hfpmccabe-2.5.tgz
NetBSD 9.0earmv6hfpmccabe-2.5.tgz
NetBSD 9.0earmv6hfpmccabe-2.5.tgz
NetBSD 9.0earmv7hfpmccabe-2.5.tgz
NetBSD 9.0earmv7hfpmccabe-2.5.tgz
NetBSD 9.0earmv7hfpmccabe-2.5.tgz
NetBSD 9.0i386pmccabe-2.5.tgz
NetBSD 9.0i386pmccabe-2.5.tgz
NetBSD 9.0m68kpmccabe-2.5.tgz
NetBSD 9.0powerpcpmccabe-2.5.tgz
NetBSD 9.0powerpcpmccabe-2.5.tgz
NetBSD 9.0powerpcpmccabe-2.5.tgz
NetBSD 9.0sparc64pmccabe-2.5.tgz
NetBSD 9.0sparc64pmccabe-2.5.tgz
NetBSD 9.0x86_64pmccabe-2.5.tgz
NetBSD 9.0x86_64pmccabe-2.5.tgz
NetBSD 9.3x86_64pmccabe-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.

Available build options

(none)

Known vulnerabilities

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.