# es-analysis/plato

JavaScript source code visualization, static analysis, and complexity tool

Repository: https://github.com/es-analysis/plato
Canonical: https://ross.abutalabs.com/products/plato
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2022-02-11T05:47:35+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4991, "days_push": 1664, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4551, forks 312 (observed 2026-08-28T04:08:53.305169+00:00)

## What it is
Plato is a JavaScript static analysis tool that visualizes source code complexity, generating HTML reports with cyclomatic complexity, Halstead metrics, and lint data from JSHint/ESLint. It runs from the command line or as a Node.js library and produces browsable reports for projects.

## Use cases
- visualize javascript code complexity
- generate cyclomatic complexity reports for a js project
- track code quality metrics over time
- lint and analyze javascript source files
- produce html complexity reports for a codebase
- find complex functions in legacy javascript

## When to choose
- you need visual HTML reports of JavaScript complexity metrics
- you want combined linting (JSHint/ESLint) and complexity analysis in one report
- you prefer a simple CLI or programmatic Node.js API

## When to avoid
- you need actively maintained tooling or modern ES2020+ syntax support
- you need TypeScript or non-JavaScript language analysis
- you need CI-integrated quality gates rather than visual reports

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: static-site-generator, data-visualization, linter, developer-tools
- domain: developer-tools, web-development, analytics
- platform: cli, cross-platform
- tags: code-complexity, static-analysis, cyclomatic-complexity, halstead-metrics, code-quality, javascript, es6, reporting, nodejs

## Member repositories
- es-analysis/plato (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:53.305169+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:20:04.672581+00:00, confidence not recorded.
  - readme: https://github.com/es-analysis/plato (fetched 2026-08-28T04:08:53.305169+00:00, sha e262976c9391)
  - registry_npm: https://registry.npmjs.org/plato (fetched 2026-08-29T09:05:52.402064+00:00, sha 1f85e655d8cc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
