🛡️ All analysis runs locally. Your code never leaves this browser.
🛡️ All analysis runs locally. Your code never leaves this browser.
Cyclomatic Complexity measures the number of linearly independent paths through a program (testability). Cognitive Complexity measures how difficult the code is for a human to understand (readability).
1-10 is considered simple and low risk. 11-20 is moderate. 21-50 is complex and risky. Above 50 is untestable and should be refactored.
It adds extra weight for nesting and structural breaks (e.g., `if` inside `if`). The default threshold for concern is 15.
A 0-100 score combining Halstead Volume, Cyclomatic Complexity, and Lines of Code. Higher is better; a score below 65 indicates maintainability issues.
Absolutely. The analysis uses Acorn to parse code entirely in your browser. No data is ever sent to any server.
Currently JavaScript and TypeScript (including JSX/TSX). More languages may be added in the future.