macOS
brew install gnu-complexitylocal Homebrew formula metadata
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de gnu-complexity pour les workflows d'agents IA.
installation
brew install gnu-complexitylocal Homebrew formula metadata
sudo apt install complexityDebian stable package indexes · complexity · Source: deb.debian.org
nix profile install nixpkgs#complexitynixpkgs package indexes · pkgs/by-name/co/complexity/package.nix · Source: api.github.com
sudo zypper install complexityopenSUSE Tumbleweed package metadata · complexity · Source: download.opensuse.org
aperçu
Measures complexity of C source
historique
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.
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.
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.
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.
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.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
complexity | cli | exécutable global | |
cx-vs-mc | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://www.gnu.org/software/complexity/
métadonnées d'installation
| Clé du paquet | brew:gnu-complexity |
|---|---|
| Version | 1.13 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/gnu-complexity |
| Page d'accueil | https://www.gnu.org/software/complexity/ |
| Dépôt | https://git.savannah.gnu.org/cgit/complexity.git |
| Docs amont | https://www.gnu.org/software/complexity/manual |
| Licence | GPL-3.0-or-later |
| Archive source | https://ftpmirror.gnu.org/gnu/complexity/complexity-1.13.tar.xz |
| Dépendances | autogen |
| Dépendances de compilation | autoconf, automake |
| Bouteille | disponible (sur arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gnu-complexity |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
complexity 1.13-1+b1
tool for analyzing the complexity of C program functions
https://gnu.org/software/complexity
sudo apt install complexitycomplexity-doc 1.13-1
tool for analyzing the complexity of C program (documentation)
https://gnu.org/software/complexity
sudo apt install complexity-doccomplexity
nix profile install nixpkgs#complexitycomplexity 1.13-1
tool for analyzing the complexity of C program functions
https://gnu.org/software/complexity
sudo apt install complexitycomplexity-doc 1.13-1
tool for analyzing the complexity of C program (documentation)
https://gnu.org/software/complexity
sudo apt install complexity-doccomplexity 1.13-1.7
C source code complexity computation utility
https://www.gnu.org/software/complexity/
sudo zypper install complexitypiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.