BSD Ports

devel/pmccabe 2.6_1 DragonFly

Code complexity estimator

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2
Categories
devel
Package size
28.5 KiB, 66.0 KiB installed

Description

pmccabe calculates McCabe-style cyclomatic complexity for C and C++ source code. Per-function complexity may be used for spotting likely trouble spots and for estimating testing effort.

pmccabe also includes a non-commented line counter, decomment which only removes comments from source code; codechanges, a program to calculate the amount of change which has occurred between two source trees or files; and vifn, to invoke vi given a function name rather than a file name.

In the other systems

SystemPortVersion
DragonFlydevel/pmccabe2.6_1
FreeBSDdevel/pmccabe2.6_1
NetBSDdevel/pmccabe2.5
HardenedBSDdevel/pmccabe2.6_1
GhostBSDdevel/pmccabe2.6_1

Install

Binary package:

pkg install pmccabe

From DPorts:

cd /usr/dports/devel/pmccabe && make install clean

Dependencies

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

===>   NOTICE:

The pmccabe port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing