Skip to content

An extension for Visual Studio Code to run Lizard complexiy analysis.

License

Notifications You must be signed in to change notification settings

brobeson/vscode-lizard

Repository files navigation

VS Code Lizard

Static Analysis Build and Test

This is an extension for Visual Studio Code to run Lizard cyclomatic complexity analysis on your project.

Features

This extension reports diagnostics for functions that:

  • are too long,
  • have too many parameters, or
  • have too many branches.

You can enable the metrics and specify their limits in your VS Code settings.

Requirements

VS Code Lizard runs Lizard under the hood and processes the results. You must install Lizard on your system.

Extension Settings

See the user manual for information about the extension's settings.

Commands

See the user manual for information about available commands.

Known Issues

GitHub issues by-label GitHub issues by-label

  • VS Code Lizard cannot scan a file during editing. Lizard reads the file from disk, so you must save your changes which triggers scanning the file.
  • VS Code Lizard only supports C++. I will add support for other languages as soon as possible.