Skip to main content

Crate normalize_analyze

Crate normalize_analyze 

Source
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§

FileEntity
A file-level entity (for file-scoped rankings).
FunctionEntity
A function-level entity (for complexity, length, etc.).
ModuleEntity
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.