Skip to main content

Module analyze

Module analyze 

Source
Expand description

Evaluated analysis output schema (codedash analyze -o json).

These types represent the evaluated output from the codedash analysis pipeline — the result after raw AST metrics have been normalized and mapped to visual percept channels (hue, size, border, opacity, clarity).

This is distinct from crate::AstData, which captures the raw parse output. AnalyzeResult is what downstream consumers (e.g. egui-cha UI components) should depend on for visualization.

Structs§

AnalyzeResult
Top-level output from codedash analyze -o json.
Binding
A binding maps a code metric (index) to a visual channel (percept).
EvalEntry
A single evaluated code unit with raw metrics and visual encoding values.
Group
A domain group with count and percentage.
PerceptValues
Visual encoding values computed by the eval pipeline.