Automic VaultAutomic Vault

brew

lizard-analyzer を Homebrew, MacPorts でインストール

lizard-analyzer のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install lizard-analyzer

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install lizard

MacPorts ports tree · archivers/lizard/Portfile · ソース: api.github.com

概要

パッケージ概要

Extensible Cyclomatic Complexity Analyzer

コマンドとエイリアス

  • lizard

履歴

プロジェクトの歴史と使われ方

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.

プロジェクトの歴史

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.

採用の歴史

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.

使われ方

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.

パッケージ好きにとっての重要性

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.

タイムライン

  • 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.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
lizardcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版1.23.0
マネージャ更新日2026-06-03
ローカルデータOK
上流not checked
検出された最新未検出

https://github.com/terryyin/lizard

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:lizard-analyzer
バージョン1.23.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/lizard-analyzer
ホームページhttps://github.com/terryyin/lizard
リポジトリhttps://github.com/terryyin/lizard
上流ドキュメントhttps://github.com/terryyin/lizard#readme
ライセンスMIT
ソースアーカイブhttps://files.pythonhosted.org/packages/5b/94/4967d0868e7db39a72fa2dbef9a798c4d661178f3836bfec58091606f0f3/lizard-1.23.0.tar.gz
最終更新2026-06-03T09:53:20Z
Pulseupdated
依存関係python@3.14
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

MacPorts94%

lizard

sudo port install lizard
  • installed executable or alias match
  • 一致条件: 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

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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