| File | Churn≤200 commits | MI0–100 | LoC | CognitiveΣ per file | CyclomaticΣ per file | Functions | Hottest Function | Its Cognitive | Biggest Function | Its LoC | Coverage |
|---|---|---|---|---|---|---|---|---|---|---|---|
crates/indexer-core/src/batch.rs | 1 | 178 | 246 | 8 | 31 | 20 | embed_batched | 5 | embed_batched | 29 | 96% |
crates/indexer-core/src/capture.rs | 3 | 0 | 1165 | 105 | 132 | 46 | validate_batch | 17 | capture | 88 | 95% |
crates/indexer-core/src/checkout.rs | 1 | 175 | 229 | 7 | 32 | 17 | safe_join | 4 | resolve | 20 | 98% |
crates/indexer-core/src/chunk.rs | 2 | 192 | 200 | 21 | 31 | 17 | split_body | 16 | split_body | 54 | 99% |
crates/indexer-core/src/config.rs | 5 | 92 | 418 | 7 | 43 | 26 | ensure_artifact_cached | 2 | config_apply_wires_the_flag_and_cap_into_the_rerank_stage | 63 | 94% |
crates/indexer-core/src/embed.rs | 4 | 113 | 323 | 13 | 49 | 28 | new | 6 | embed | 38 | 58% |
crates/indexer-core/src/flag.rs | 1 | 0 | 565 | 61 | 95 | 41 | append_flag | 15 | clear_flags | 59 | 90% |
crates/indexer-core/src/git_host.rs | 3 | 0 | 974 | 41 | 122 | 54 | fresh_branch | 8 | pr_state | 42 | 91% |
crates/indexer-core/src/graph.rs | 4 | 0 | 692 | 49 | 81 | 45 | walk_hops | 31 | walk_hops | 52 | 80% |
crates/indexer-core/src/lib.rs | 15 | 377 | 69 | 2 | 10 | 4 | parse | 1 | parse | 9 | 53% |
crates/indexer-core/src/manifest.rs | 1 | 271 | 122 | 1 | 19 | 10 | read_or_corrupt | 1 | canonical_form_is_stable_across_runs | 17 | 98% |
crates/indexer-core/src/okf.rs | 4 | 54 | 443 | 33 | 62 | 29 | first_atx_h1 | 8 | parse_note | 42 | 94% |
crates/indexer-core/src/pipeline.rs | 9 | 0 | 1670 | 50 | 176 | 91 | index_note | 15 | index_note | 120 | 88% |
crates/indexer-core/src/rerank.rs | 2 | 268 | 134 | 2 | 20 | 11 | rerank | 2 | rerank | 19 | 100% |
crates/indexer-core/src/retire.rs | 1 | 179 | 234 | 6 | 32 | 18 | missing_reason_is_rejected | 2 | plan_retire | 23 | 84% |
crates/indexer-core/src/search.rs | 1 | 109 | 362 | 8 | 40 | 28 | to_filter | 4 | to_request | 27 | 86% |
crates/indexer-core/src/store.rs | 6 | 0 | 1075 | 27 | 163 | 92 | attach_vectors | 4 | snapshot_async | 53 | 51% |
crates/indexer-core/src/supersede.rs | 2 | 0 | 781 | 38 | 100 | 63 | append_link | 9 | build_supersede_changes | 68 | 95% |
crates/indexer-core/src/validation.rs | 1 | 24 | 556 | 25 | 63 | 33 | validate_link_targets | 9 | validate_note | 66 | 95% |
crates/indexer/src/main.rs | 4 | 176 | 195 | 3 | 46 | 25 | main | 3 | main | 69 | 0% |
Every color band in the table above is driven by one of the values below. Purpose says what the value decides; source names the file it is read from — the generator holds no metric constants of its own, so changing a value there recolors the dashboard on the next run. Relative-rank columns (churn, cognitive Σ, cyclomatic Σ, LoC) split each column into thirds anchored at that column's maximum: a "hot" is the worst file in this table, not an absolute verdict. Absolute thresholds (coverage, MI, per-function gates) stand independent of the table.
| Value | Current | Purpose | Source |
|---|---|---|---|
coverage_good_lines | 80 | line coverage at or above this is green | config.toml [presentation] |
coverage_mid_lines | 50 | line coverage at or above this is amber, below is red | config.toml [presentation] |
mi_good | 85 | Maintainability Index at or above this is green | config.toml [presentation] |
mi_mid | 65 | MI at or above this is amber, below is red | config.toml [presentation] |
relative_thirds | 0.34, 0.67 | rank split for churn / cognitive / cyclomatic / LoC columns | config.toml [presentation] |
per_function_cognitive | 20 | a function at or above this is red — the lint gate | clippy.toml |
per_function_loc | 60 | a function at or above this is red — the lint gate | clippy.toml |
The hard coverage floor (the gate in
[quality_gate]) is looser than the color bands; MI bands follow
the Microsoft Visual Studio lineage convention.