pkg.soopen package index

brew / rank 9986

Install pmccabe with Homebrew, apk, apt, Nix, zypper

Calculate McCabe-style cyclomatic complexity for C/C++ code. Version 2.9 via Homebrew; verified 2026-09-11. Also installable with debian: sudo apt install pmccabe.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install pmccabe

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add pmccabe

Alpine Linux edge package indexes · pmccabe · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install pmccabe

Debian stable package indexes · pmccabe · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#pmccabe

nixpkgs package indexes · pkgs/by-name/pm/pmccabe/package.nix · source: api.github.com

openSUSE zypperverified · 92%
sudo zypper install pmccabe

openSUSE Tumbleweed package metadata · pmccabe · source: download.opensuse.org

overview

Package summary

Calculate McCabe-style cyclomatic complexity for C/C++ code

Commands and aliases

  • codechanges
  • decomment
  • pmccabe
  • vifn

history

Project history and usage

pmccabe is a compact command-line analyzer that calculates McCabe-style cyclomatic complexity and source-line statistics for C and C++ code.

Project history

The current official GitLab project was created in January 2021 and maintains pmccabe as a command-line implementation of McCabe-style complexity and line-count analysis for C and C++.

Adoption history

pmccabe is distributed by several Unix-oriented package ecosystems, including Homebrew, Debian, Ubuntu, Alpine, Nix, and openSUSE, making the small command-line analyzer readily available in development and build environments.

How it is used

Developers run pmccabe against C or C++ sources to identify functions with high control-flow complexity and to collect line-count measurements. Its companion executables support related source-processing tasks such as decommenting and reporting code changes.

Why package nerds care

pmccabe represents the Unix tradition of narrowly focused source-analysis tools: it is scriptable, operates directly on C and C++ source, and exposes a classic software metric without requiring a larger analysis platform.

Timeline

  • 2021: The current official GitLab project was created.

Related projects

  • The package belongs to the same broad tooling family as linters, static analyzers, source line counters, and code-quality reporting systems.

Sources

  • Official GitLab project and documentation: https://gitlab.com/pmccabe/pmccabe
  • Official command documentation: https://pmccabe.gitlab.io/pmccabe/pmccabe.html
  • source_facts.package-manager

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
codechangescliglobal executable
decommentcliglobal executable
pmccabecliglobal executable
vifncliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-09-19
manager version2.9
manager updated2026-09-11
local dataok
upstreamnot checked
latest detectednot detected

https://gitlab.com/pmccabe/pmccabe

install metadata

Package metadata

Package keybrew:pmccabe
Version2.9
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/pmccabe
Homepagehttps://gitlab.com/pmccabe/pmccabe
Upstream docshttps://gitlab.com/pmccabe/pmccabe
LicenseGPL-2.0-or-later
Source archivehttps://gitlab.com/pmccabe/pmccabe/-/archive/v2.9/pmccabe-v2.9.tar.bz2
Last updated2026-09-11T13:10:48Z
Pulseupdated
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepmccabe
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

pmccabe 2.8-3

McCabe-style function complexity and line counting for C and C++

https://gitlab.com/pmccabe/pmccabe

sudo apt install pmccabe
  • Section: devel
  • Architecture: amd64
  • 1 dependencies
  • normalized package name match
  • Matched by: Pmccabe
Debian stable package indexes · deb.debian.org · Debian stable package indexes: pmccabe from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

pmccabe

nix profile install nixpkgs#pmccabe
  • normalized package name match
  • Matched by: Pmccabe
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/pm/pmccabe/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

pmccabe 2.8-3

McCabe-style function complexity and line counting for C and C++

https://gitlab.com/pmccabe/pmccabe

sudo apt install pmccabe
  • Section: universe/devel
  • Architecture: amd64
  • 1 dependencies
  • normalized package name match
  • Matched by: Pmccabe
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: pmccabe from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

pmccabe 2.8-r1

McCabe-style complexity and line counting for C and C++

https://gitlab.com/pmccabe/pmccabe

sudo apk add pmccabe
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: pmccabe
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Pmccabe
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pmccabe from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

pmccabe-doc 2.8-r1

McCabe-style complexity and line counting for C and C++ (documentation)

https://gitlab.com/pmccabe/pmccabe

sudo apk add pmccabe-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: pmccabe
  • normalized package name match
  • Matched by: Pmccabe
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pmccabe-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
zypper95%

pmccabe 2.8-1.17

McCabe-style complexity and line counting for C and C++

https://gitlab.com/jas/pmccabe

sudo zypper install pmccabe
  • License: GPL-2.0-or-later
  • Category: Development/Languages/C and C++
  • Architecture: x86_64
  • Source Package: pmccabe
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Pmccabe
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: pmccabe from https://download.opensuse.org/tumbleweed/repo/oss/repodata/d310d5a96106e1e8872a385adf98aaa23be9db5d80937a6717314e7e7f37715065c6c748ab7ccee6475d620b46979c0fe64235fc0c46988e17edf659578fcf31-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation