pmat 3.11.0

PMAT - Zero-config AI context generation and code quality toolkit (CLI, MCP, HTTP)
1
2
3
4
5
6
7
8
9
10
//! Single function test to isolate complexity calculation bug

/// Simple function that should have exactly cyclomatic=1, cognitive=0
pub fn only_function() -> i32 {
    42
}

fn main() {
    println!("Result: {}", only_function());
}