pub fn detect_mapping_pattern( block: &Block, cyclomatic: u32, cognitive: u32, ) -> (MappingPatternResult, Option<f64>)
Detect mapping patterns and calculate adjusted complexity (spec 118)