KASAUTI — Code Quality Visualizerकसौटी is the touchstone a goldsmith rubs metal against to judge its purity. This extension does the same for code: it measures your codebase against published industry metrics, gives every file a grade from A to E, and shows the whole project as a 3D pyramid you can walk around — updating live as you type. Everything runs offline inside VS Code. No account, no server, no telemetry, no network calls. What it measuresEvery number comes from a published, documented metric — nothing invented:
How the grade is calculatedKASAUTI uses SonarQube's publicly documented technical debt ratio model, so any grade can be defended in a review or a presentation:
Folder and workspace grades sum debt and lines before dividing, so a hundred tiny clean files cannot hide one terrible one. Language supportEvery source file in your workspace is analyzed. How deeply depends on whether a parser exists for its language: Full analysis — 24 languages Bash · C · C++ · C# · Dart · Elixir · Go · Java · JavaScript · Kotlin · Lua · Objective-C · OCaml · PHP · Python (and Jupyter notebooks) · ReScript · Ruby · Rust · Scala · Solidity · Swift · TypeScript · TSX · Zig Per-function complexity, Halstead, maintainability, nesting, parameters, classes, duplication. Partial analysis — every other language Pascal, Fortran, Haskell, R, Julia, Perl, Clojure, Erlang, F#, Groovy, PowerShell, SQL, VHDL, Verilog, COBOL, Ada, MATLAB, GDScript, CUDA, GLSL and more. File length, line length, indentation-based nesting, duplication and TODO markers. These files are clearly labelled "partial analysis" everywhere they appear, so a shallow check is never mistaken for a full one. You can exclude them from scores with one setting. Skipped: generated, minified, binary, and oversized files — with the reason shown. Using it
Views — 3D pyramid (floors = folder depth, blocks = files, colour = grade, height = the metric you pick), 2D treemap, and a sortable list. The treemap and list are full replacements, not afterthoughts: they work without a GPU and are fully keyboard navigable. In the editor — squiggles and Problems-panel entries, a CodeLens above every function showing its grade and complexity, and a status-bar item with the current file and workspace grade. Export — a self-contained HTML report (opens offline in any browser, good for submissions), SARIF 2.1.0 (validated against the OASIS schema; works with GitHub code scanning), and JSON with every metric. Rules
Every limit is configurable, and every finding explains why it matters and how to fix it. Full pages are bundled in Silencing a findingWhen a rule is wrong about your code, say so in the code itself:
Project configurationRun KASAUTI: Create Project Configuration File, or write
Commit it and everyone on the team grades the same way. The same settings can
live under a Running in CI
The gate stays off until you add a SettingsThe ones worth knowing:
AccessibilityColour is never the only signal: every block, row and tooltip carries its grade letter, and severities have distinct icons. The list view mirrors the pyramid for screen readers, all views are keyboard navigable, an Okabe–Ito colour-blind palette is one setting away, and animations respect reduce motion. PrivacyKASAUTI makes no network requests, ever. Your code is parsed, never executed, and never leaves your machine. The analysis cache lives in VS Code's own storage folder, not in your repository. Built byKanak Prabhakar — BCA student, AISECT University, Hazaribagh. Licensed MIT. |