Expand description
Shared entity types and ranking infrastructure for analyze commands.
Provides the Entity trait for items that appear in ranked lists,
concrete entity types (FunctionEntity, ModuleEntity, FileEntity),
and the [rank_pipeline] for shared sort/stats/truncate logic.
Modules§
- ranked
- Ranked list helpers: scoring, stats, and the shared rank pipeline.
Structs§
- File
Entity - A file-level entity (for file-scoped rankings).
- Function
Entity - A function-level entity (for complexity, length, etc.).
- Module
Entity - A module-level entity (for density, health, etc.).
Traits§
- Entity
- An entity that can appear in a ranked list.
Functions§
- truncate_
path - Truncate a path for display, replacing the beginning with “…” if too long.