Automic VaultAutomic Vault

brew

Installer lizard-analyzer avec Homebrew, MacPorts

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de lizard-analyzer pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install lizard-analyzer

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install lizard

MacPorts ports tree · archivers/lizard/Portfile · Source: api.github.com

aperçu

Résumé du paquet

Extensible Cyclomatic Complexity Analyzer

Commandes et alias

  • lizard

historique

Historique du projet et usages

Lizard is a Python-based cyclomatic-complexity and static-analysis command-line tool. Its package history is mildly confusing because Homebrew names this formula lizard-analyzer while the executable is lizard, avoiding collision with a separate compression utility also named lizard.

Historique du projet

The terryyin/lizard repository was created on GitHub in June 2012. The README describes the tool as an extensible cyclomatic complexity analyzer for many programming languages, with an emphasis on scanning C/C++ without needing complete header search paths and Java without resolving all imports.

Over time the tool expanded beyond basic cyclomatic complexity counts into duplicate-code detection and other static-code metrics. Its language list in the README spans C/C++, Java, Python, JavaScript/TypeScript, Go, Rust, Swift, Solidity, Zig, and other languages.

Historique d'adoption

The README documents both direct script usage and installation through pip, which made Lizard convenient for CI jobs and local quality gates before language-specific static-analysis suites were always present in package-manager workflows.

Homebrew packaging under lizard-analyzer gives macOS users a CLI install path while avoiding the formula-name collision with the unrelated lizard compressor.

Modes d'utilisation

Lizard is commonly used as a lightweight metric pass over source trees: run lizard on a path, optionally select languages, exclude paths, and fail builds when complexity or parameter-count thresholds are exceeded.

Because it intentionally measures how complex code looks rather than trying to fully compile or semantically resolve a project, it fits quick scans, pre-commit checks, and repository audits where low setup cost matters.

Pourquoi les passionnés de paquets s'y intéressent

The formula is a small example of package-manager disambiguation: the upstream project, command name, and common Python package name are lizard, but Homebrew has to call the formula lizard-analyzer because brew:lizard is already the compression tool.

It also shows how scripting-language tools enter Unix package managers even when pip installation is available, because packaging the CLI gives users a repeatable system-level binary without managing a Python environment by hand.

Chronologie

  • 2012: terryyin/lizard repository created on GitHub.
  • 2026: GitHub releases 1.20.0 and 1.23.0 were published for the analyzer.
  • 2026: Homebrew formula lizard-analyzer identified the executable as lizard and the package as an extensible cyclomatic complexity analyzer.

Related projects

  • The package sits near linters, static analyzers, and code-metric tools such as cloc, radon, cppcheck, and language-specific complexity plugins.
  • It is unrelated to brew:lizard, the compression utility packaged in the same batch.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • S’installe avec 1 dépendances d’exécution.

Revue recommandée

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

Exécutables installés

CommandeTypeExpositionNote
lizardcliexécutable global

fraîcheur

Version et 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.

page générée2026-07-25
version du gestionnaire1.23.0
gestionnaire mis à jour2026-06-03
données localesOK
amontnot checked
dernière version détectéenon détecté

https://github.com/terryyin/lizard

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:lizard-analyzer
Version1.23.0
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/lizard-analyzer
Page d'accueilhttps://github.com/terryyin/lizard
Dépôthttps://github.com/terryyin/lizard
Docs amonthttps://github.com/terryyin/lizard#readme
LicenceMIT
Archive sourcehttps://files.pythonhosted.org/packages/5b/94/4967d0868e7db39a72fa2dbef9a798c4d661178f3836bfec58091606f0f3/lizard-1.23.0.tar.gz
Dernière mise à jour2026-06-03T09:53:20Z
Pulseupdated
Dépendancespython@3.14
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

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

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

MacPorts94%

lizard

sudo port install lizard
  • installed executable or alias match
  • Correspondance par : Lizard
MacPorts ports tree · api.github.com · MacPorts ports tree: archivers/lizard/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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