devel/pmccabe 2.6_1 FreeBSD
Code complexity estimator
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- GPLv2
- Categories
- devel
- Package size
- 28.5 KiB, 61.7 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 |
|---|---|---|
| FreeBSD | devel/pmccabe | 2.6_1 |
| NetBSD | devel/pmccabe | 2.5 |
| DragonFly | devel/pmccabe | 2.6_1 |
Install
Binary package:
pkg install pmccabe
From the ports tree:
cd /usr/ports/devel/pmccabe/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= pmccabe>0:devel/pmccabe
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.6_1 | 2.6_1 | 2.6 | 2.6_1 | 2.6_1 |
| FreeBSD:14:quarterly | 2.6_1 | 2.6_1 | n/a | 2.6_1 | 2.6_1 |
| FreeBSD:15:latest | 2.6_1 | 2.6_1 | n/a | 2.6_1 | 2.6_1 |
| FreeBSD:15:quarterly | 2.6_1 | 2.6_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.6_1 | 2.6_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
No port depends on this one.
Configuration
No options to configure.
- Service scripts
- none
Message after installing
Files
Manual pages 4
- codechanges(1)
- decomment(1)
- pmccabe(1)
- vifn(1)
pkg-plist 8
- bin/codechanges
- bin/decomment
- bin/pmccabe
- bin/vifn
- share/man/man1/codechanges.1.gz
- share/man/man1/decomment.1.gz
- share/man/man1/pmccabe.1.gz
- share/man/man1/vifn.1.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pmccabe_2.6.tar.gz | 59726 | e490fe7c9368fec3613326265dd44563dc47182d142f579a40eca0e5d20a7028 |
Master sites 2
- http://ftp.de.debian.org/debian/pool/main/p/pmccabe/
- http://dist.codelabs.ru/fbsd/pmccabe/
Commit history 0
No commits in the history this site was built from.