Complexity Analyzers
Analyzes C# code to estimate Big-O algorithmic complexity, detect costly anti-patterns, and calculate structural code metrics across IDEs, CI pipelines, and AI assistants.
Complexity Analyzers is a comprehensive static analysis toolkit for C# that calculates algorithmic Big-O complexity and measures essential code metrics without introducing runtime overhead. Combining a compile-time Roslyn analyzer, a .NET CLI, a GitHub Action, and an MCP server, it flags performance bottlenecks such as linear lookups and collection materializations inside loops. Built on conservative semantic analysis, the suite solves recursive recurrences, models known BCL and LINQ calls, and computes structural metrics like Cyclomatic and Cognitive Complexity to help engineering teams and AI agents prevent performance regressions and enforce strict quality gates.