pub struct TypeCouplingSummary {Show 14 fields
pub scope: String,
pub direction: String,
pub project_size: usize,
pub files_analyzed: usize,
pub distinct_coupled_files: usize,
pub edge_count: usize,
pub coupled_file_pct: f64,
pub p50_distinct_connections: f64,
pub p90_distinct_connections: f64,
pub p95_public_types_used_by: f64,
pub p95_public_api_depends_on: f64,
pub high_coupling_pct: f64,
pub concentration: f64,
pub cycle_count: usize,
}Expand description
Project summary for advisory type coupling.
Fields§
§scope: StringMeasurement boundary, currently project-local public signatures.
direction: StringEdge direction, currently directed.
project_size: usizeDistinct project files in the selected TypeScript projects.
files_analyzed: usizeDistinct project files included in the denominator.
distinct_coupled_files: usizeFiles participating in at least one project-local type edge.
edge_count: usizeProject-local public-signature edge count before evidence bounding.
coupled_file_pct: f64Percentage of analyzed files participating in a type edge.
p50_distinct_connections: f64Median distinct-file type connections.
p90_distinct_connections: f64P90 distinct-file type connections.
p95_public_types_used_by: f64P95 incoming distinct-file type coupling.
p95_public_api_depends_on: f64P95 outgoing distinct-file type coupling.
high_coupling_pct: f64Percentage of files above the adaptive high-coupling threshold.
concentration: f64Share of edge endpoints represented by the top contributors.
cycle_count: usizeNumber of project-local public-signature cycles.