#[non_exhaustive]pub struct EvalEntry {Show 17 fields
pub kind: String,
pub name: String,
pub full_name: String,
pub file: String,
pub start_line: u32,
pub end_line: u32,
pub lines: u32,
pub exported: bool,
pub visibility: String,
pub params: Option<u32>,
pub cyclomatic: Option<u32>,
pub depth: Option<u32>,
pub field_count: Option<u32>,
pub git_churn_30d: Option<u32>,
pub coverage: Option<f64>,
pub normalized: PerceptValues,
pub percept: PerceptValues,
}Expand description
A single evaluated code unit with raw metrics and visual encoding values.
Combines source identity, raw metrics from AST parsing/enrichment, and the normalized + percept values computed by the eval pipeline.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: StringNode kind: "function", "struct", "enum", "impl", "method", etc.
name: StringNode name (identifier).
full_name: StringFully qualified name (e.g. "src/app::MyStruct.method").
file: StringSource file path (relative, without extension).
start_line: u32First line of the node (1-based).
end_line: u32Last line of the node (1-based, inclusive).
lines: u32Total line count.
exported: boolWhether this node is exported / publicly visible.
visibility: StringVisibility qualifier (e.g. "pub", "private").
params: Option<u32>Number of parameters (functions/methods).
cyclomatic: Option<u32>Cyclomatic complexity.
depth: Option<u32>Maximum nesting depth.
field_count: Option<u32>Number of fields (structs/enums).
git_churn_30d: Option<u32>Git commit count within the churn period.
coverage: Option<f64>Region coverage ratio (0.0–1.0).
normalized: PerceptValuesNormalized values (0.0–1.0 range) for each percept channel.
percept: PerceptValuesFinal percept values after mapping (may exceed 0.0–1.0 depending on the percept).