pub struct RuntimeCoverageImportanceEntry {
pub id: String,
pub stable_id: Option<String>,
pub file: PathBuf,
pub function: String,
pub line: u32,
pub invocations: u64,
pub cyclomatic: u32,
pub owner_count: u32,
pub importance_score: f64,
pub reason: String,
}Expand description
One production-importance entry in runtime_coverage.importance, scoring
how much a function matters in production.
Fields§
§id: StringStable content-hash ID of the form fallow:importance:<hash>.
stable_id: Option<String>Cross-surface join key (fallow:fn:<hash>) for the function. Stable
across line moves; shared with the same function’s findings / hot-path /
blast-radius entries. null when no FunctionIdentity was supplied.
file: PathBufFile path relative to the project root.
function: StringFunction name for the importance entry.
line: u321-indexed line number the function starts on.
invocations: u64Observed invocation count for this function.
cyclomatic: u32Cyclomatic complexity from the static health pipeline.
owner_count: u32Number of CODEOWNERS owners matched for this file. Zero means no owner was resolved.
importance_score: f640-100 explainable score from log-scaled traffic, capped complexity weight, and ownership-risk weight.
reason: StringTemplated one-sentence explanation for the score.