$npx skillfedfor your agent

lizard

A code analyzer without caring the C/C++ header files. It works with Java, C/C++, JavaScript, Python, Ruby, Swift, Objective C. Metrics includes cyclomatic complexity number etc.

Worth itPyPI Quality AssuranceReleased Jun 20261.3M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — lizard-1.23.0-py2.py3-none-any.whl
v1.23.0 · released 2026-06-02 · 2 runtime deps: pygments, pathspec

Yes. Lizard is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. It solves a real problem—measuring code complexity across many languages without requiring complete build environments—and is suitable for both standalone use and CI/CD integration. The 2446 repository stars and top-5000 PyPI tier indicate solid community adoption.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires python3.8 or above; early versions are not verified.
  • Low install friction with only two runtime dependencies (pygments and pathspec).
  • The package is actively maintained with a recent release and 2446 repository stars, indicating stable, community-backed development.

License · maintenance · safety

MIT (permissive) — MIT license is permissive, allowing free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

last release 2026-06-02 (73 days) · last repo commit 2026-08-13 · 2,446 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,283,998 downloads/mo, #4,113 on PyPI

Verify before relying

pip install lizard
lizard mySource/
lizard -C 15 -a 5 mySource/ --xml
  • Whether the tool's copy-paste detection accuracy and performance scale well for very large codebases.
  • Whether all listed language parsers are equally mature or if some are experimental.
  • Performance characteristics when analyzing code with many threads enabled.
Same gist for agents: .md · .json

What it is and what it does

Lizard is a static code analyzer that measures cyclomatic complexity and other code metrics across many programming languages including C/C++, Java, Python, JavaScript, and others. It calculates lines of code without comments, cyclomatic complexity number, token count, and parameter count for each function, then reports functions exceeding configurable thresholds. It also performs copy-paste detection to identify duplicate code blocks.

The tool is designed to work without requiring complete header files or imports, making it practical for analyzing incomplete or complex codebases. It can output results in multiple formats (tabular, XML, CSV, HTML, Checkstyle) and supports filtering via .gitignore patterns or custom exclusion rules. You can run it as a standalone script or install it for full functionality, and it supports parallel analysis via configurable worker threads.

Use it for

  • Measure cyclomatic complexity in legacy codebases to identify functions needing refactoring.
  • Detect copy-pasted code blocks across a project to consolidate duplicated logic.
  • Generate HTML or XML reports for code quality dashboards and CI/CD pipeline integration.
  • Enforce coding standards by setting thresholds for complexity, function length, and parameter count.
  • Analyze multi-language projects (e.g., C++ backend + JavaScript frontend) in a single run.
  • Identify overly complex functions during code review to guide refactoring priorities.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Lizard is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. It solves a real problem—measuring code complexity across many languages without requiring complete build environments—and is suitable for both standalone use and CI/CD integration. The 2446 repository stars and top-5000 PyPI tier indicate solid community adoption.

Install

lizard on PyPI

Before you install

Low install friction with only two runtime dependencies (pygments and pathspec). The package is actively maintained with a recent release and 2446 repository stars, indicating stable, community-backed development.

Requires python3.8 or above; early versions are not verified.

License in practice

MIT license is permissive, allowing free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

Quickstart

pip install lizard
lizard mySource/
lizard -C 15 -a 5 mySource/ --xml

Verify before relying

  • Whether the tool's copy-paste detection accuracy and performance scale well for very large codebases.
  • Whether all listed language parsers are equally mature or if some are experimental.
  • Performance characteristics when analyzing code with many threads enabled.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
pygmentspathspec
MaintenanceActively maintained 73 days since the last release
Last repo commit
First released
Downloads1,283,998 / month, #4,113 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: End Users/DesktopLicense :: FreewareOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming Language :: CProgramming Language :: C++Programming Language :: JavaProgramming Language :: JavaScriptProgramming Language :: Objective CProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Quality Assurance

Evidence: lizard-1.23.0-py2.py3-none-any.whl

Tags

Capabilities
cyclomatic complexity analyzercode clone detectionstatic code analysis toolcode quality metricsmulti-language code analyzercopy-paste detectionfunction complexity measurement
Topics
code-metricsmulti-languageci-cd-ready

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “cyclomatic complexity analyzer”

  • lizardLizard analyzes code complexity and detects code clones across many…
  • cognitive-complexityCalculates cognitive complexity scores for Python functions by…
  • mccabeMeasures cyclomatic complexity of Python functions and integrates…

Give your agent the search over MCP, or paste the wish link into any chat.

More Quality Assurance packages

coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
ruff Worth it
PyPI · Python Modules · released Aug 2026

Ruff is a Python linter and code formatter written in Rust that combines linting, formatting, and code fixing into a single tool, replacing Flake8, Black, isort, and related utilities.

MITcompiled wheel · 3.7+
316.1Mdownloads / mo
pexpect With conditions
PyPI · Software Development · released Nov 2023

Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.

ISCpure Pythonaging
200.8Mdownloads / mo
black Worth it
PyPI · Python Modules · released May 2026

Black reformats Python source code to a consistent style by parsing entire files and rewriting them according to an opinionated, deterministic set of rules, eliminating manual formatting decisions.

MITpure Python · 3.10+
179.9Mdownloads / mo
pytest-xdist Worth it
PyPI · Utilities · released Jul 2025

pytest-xdist distributes pytest tests across multiple CPU cores or machines to speed up test execution, with the simplest usage being `pytest -n auto` to spawn workers equal to available CPUs.

Install it if your test suite takes long enough that parallelization would save meaningful time.

MITpure Python · 3.9+
177.1Mdownloads / mo
cfn-lint Worth it
PyPI · Quality Assurance · released Aug 2026

Validates AWS CloudFormation templates in YAML or JSON format against resource provider schemas and best practices, checking property values and configuration correctness.

Install it if you work with CloudFormation templates.

MIT-0pure Python
114.9Mdownloads / mo

See also xenon · complexipy · radon · flake8-cognitive-complexity · mccabe · mr-proper · cognitive-complexity · scan-build · gdtoolkit · pygount