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
| System | Port | Version |
|---|---|---|
| DragonFly | devel/pmccabe | 2.6_1 |
| FreeBSD | devel/pmccabe | 2.6_1 |
| NetBSD | devel/pmccabe | 2.5 |
| HardenedBSD | devel/pmccabe | 2.6_1 |
| GhostBSD | devel/pmccabe | 2.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