Code Quality VSCode Extension

December 18, 2025 ยท View on GitHub

Features

  • Cyclomatic Complexity Analysis: This feature calculates the cyclomatic complexity of functions in Javascript & Typescript code.
  • High Complexity Highlighting: This feature makes it easier to identify areas of the code that may need refactoring.

Installation

npm install
npm run publish

In VSCode/Cursor, open the Command Palette (using Ctrl+Shift+P) and run the command "Extensions: Install from VSIX"

Choose complexity-analyzer-<X.Y.Z>.vsix

Open a Javascript or Typescript file to see the cyclomatic complexity calculations and highlighting in action. If your code is already clean it might not come up though.

Contributions

I have limited time to spend maintaining and improving this project, so contributions are welcome and appreciated.