Cognitive ComplexityA VS Code extension that displays the cognitive complexity of JavaScript/TypeScript code in your status bar. Features
Supports JavaScript, TypeScript, JSX, and TSX files. UsageThe extension automatically activates when you open JS/TS files. The status bar shows Click the complexity indicator to toggle inline hints that show exactly which lines contribute to complexity and by how much. Complexity ScoringBased on cognitive complexity principles - counts decision points with nesting penalties for deeply nested code structures. |