Automic VaultAutomic Vault

brew

gnu-complexity mit Homebrew, apt, Nix, zypper installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für gnu-complexity in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install gnu-complexity

local Homebrew formula metadata

Linux

Debian aptverifiziert · 92%
sudo apt install complexity

Debian stable package indexes · complexity · Quelle: deb.debian.org

Nixverifiziert · 92%
nix profile install nixpkgs#complexity

nixpkgs package indexes · pkgs/by-name/co/complexity/package.nix · Quelle: api.github.com

openSUSE zypperverifiziert · 92%
sudo zypper install complexity

openSUSE Tumbleweed package metadata · complexity · Quelle: download.opensuse.org

Überblick

Paketzusammenfassung

Measures complexity of C source

Befehle und Aliase

  • complexity
  • cx-vs-mc

Verlauf

Projektgeschichte und Nutzung

GNU Complexity is a small GNU static-analysis tool for measuring the complexity of C functions, designed as a more human-comprehension-oriented alternative to simple McCabe-style path counts.

Projektgeschichte

The GNU Complexity manual documents version 0.4 as of May 2011 and describes a tool by Bruce Korb for analyzing C function complexity. Its rationale is explicit: McCabe-style scoring and `pmccabe` are useful for testing effort, but GNU Complexity tries to better rank functions that are difficult for humans to understand by considering length, nesting, switch bodies, and complicated boolean expressions.

Adoptionsgeschichte

GNU Complexity has a narrow adoption footprint compared with larger GNU developer tools. Its significance is in the code-review and maintenance niche: it gives C maintainers a command-line metric that can point to suspicious functions in unfamiliar code, estimate testing or comprehension effort, and produce sorted score tables and histograms.

Wie es verwendet wird

Practitioners run `complexity` over C source files to report procedure scores, line counts, source locations, and optional histograms. The manual's example runs the tool against its own source with a low threshold, illustrating use as a quick audit tool for ranking functions before refactoring or review.

Warum Paket-Nerds sich dafür interessieren

For package nerds, GNU Complexity is interesting because it embodies a Unix-tool approach to maintainability: one command, text output, tunable thresholds, and a documented scoring model. It is useful in distributions as a lightweight companion to older tools such as `pmccabe` rather than as a large static-analysis framework.

Zeitleiste

  • 2011: GNU Complexity web page and manual documented version 0.4.
  • 2011: Manual rationale compared GNU Complexity with `pmccabe` and explained its scoring model.

Related projects

  • `pmccabe` is the comparison point used throughout the GNU Complexity manual.
  • `unifdef` is discussed in the parsing model as a way to handle preprocessor-conditional source.

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 12 Plattformziele verfügbar.
  • Installiert mit 1 Laufzeitabhängigkeiten.
  • Build-Metadaten listen 2 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
complexitycliglobales Executable
cx-vs-mccliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-10
Manager-Version1.13
Manager aktualisiert
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://www.gnu.org/software/complexity/

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:gnu-complexity
Version1.13
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/gnu-complexity
Homepagehttps://www.gnu.org/software/complexity/
Repositoryhttps://git.savannah.gnu.org/cgit/complexity.git
Upstream-Dokumentationhttps://www.gnu.org/software/complexity/manual
LizenzGPL-3.0-or-later
Quellarchivhttps://ftpmirror.gnu.org/gnu/complexity/complexity-1.13.tar.xz
Abhängigkeitenautogen
Build-Abhängigkeitenautoconf, automake
Bottleverfügbar (auf arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

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

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Debian apt92%

complexity 1.13-1+b1

tool for analyzing the complexity of C program functions

https://gnu.org/software/complexity

sudo apt install complexity
  • Section: devel
  • Architecture: amd64
  • Source Package: complexity
  • 2 Abhängigkeiten
  • installed executable or alias match
  • Abgeglichen nach: Complexity
Debian stable package indexes · deb.debian.org · Debian stable package indexes: complexity from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

complexity-doc 1.13-1

tool for analyzing the complexity of C program (documentation)

https://gnu.org/software/complexity

sudo apt install complexity-doc
  • Section: doc
  • Architecture: all
  • Source Package: complexity
  • installed executable or alias match
  • Abgeglichen nach: Complexity
Debian stable package indexes · deb.debian.org · Debian stable package indexes: complexity-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix92%

complexity

nix profile install nixpkgs#complexity
  • installed executable or alias match
  • Abgeglichen nach: Complexity
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/co/complexity/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt92%

complexity 1.13-1

tool for analyzing the complexity of C program functions

https://gnu.org/software/complexity

sudo apt install complexity
  • Section: universe/devel
  • Architecture: amd64
  • 2 Abhängigkeiten
  • installed executable or alias match
  • Abgeglichen nach: Complexity
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: complexity from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

complexity-doc 1.13-1

tool for analyzing the complexity of C program (documentation)

https://gnu.org/software/complexity

sudo apt install complexity-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: complexity
  • installed executable or alias match
  • Abgeglichen nach: Complexity
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: complexity-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
zypper92%

complexity 1.13-1.7

C source code complexity computation utility

https://www.gnu.org/software/complexity/

sudo zypper install complexity
  • License: GPL-3.0-or-later
  • Category: Development/Tools/Other
  • Architecture: x86_64
  • Source Package: complexity
  • 4 Abhängigkeiten
  • 1 stellt bereit
  • installed executable or alias match
  • Abgeglichen nach: Complexity
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: complexity from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

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