Skip to main content

source_table

Function source_table 

pub fn source_table(opts: &Options) -> &'static str
Expand description

Returns the complexity-metric source table for opts.

When grouping is active, this names the pre-aggregated complexity_metrics_grouped materialised by apply_grouping; the table has one row per group with cognitive + MI already collapsed via MAX. Wrapping the read in MAX(cognitive) GROUP BY path is a no-op on this source, so analyses can use the SAME CTE shape under either source — only the FROM table swaps.