Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>CodeCloneNew to Visual Studio Code? Get it now.
CodeClone

CodeClone

mcp-tool-shop

| (0) | Free
Deterministic code coverage analysis - surface actionable test coverage insights
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CodeClone

CodeClone for Visual Studio Code

Deterministic code coverage analysis — surface actionable test coverage insights.

Features

  • Analyze Repository — run coverage analysis on your workspace
  • Problems Panel — view findings as VS Code diagnostics with severity
  • Tree View — browse results grouped by severity with click-to-navigate
  • Export as Markdown — export the latest report as a formatted .md document
  • Copy Report JSON — copy raw analysis JSON to clipboard

Keyboard Shortcuts

Shortcut Command
Ctrl+Alt+A (Cmd+Alt+A on Mac) Analyze Repository

Requirements

  • CodeClone CLI installed: pip install codeclone-cli
  • VS Code 1.85.0 or higher

Commands

Command Description
CodeClone: Analyze Repository Run analysis on current workspace
CodeClone: Show Last Report Display last analysis in Output channel
CodeClone: Copy Report JSON Copy raw JSON to clipboard
CodeClone: Export Report as Markdown Export report as formatted markdown
CodeClone: Configure CLI Path Open settings
CodeClone: Refresh Re-run analysis

Settings

Setting Default Description
codeclone.cliPath "" Absolute path to codeclone CLI (auto-discovers if empty)
codeclone.useWorkspaceVenv true Look for CLI in workspace .venv
codeclone.timeoutSeconds 60 CLI command timeout (5–600 s)
codeclone.autoAnalyzeOnOpen false Run analysis when opening workspace
codeclone.logLevel "info" Output channel log level

How It Works

This extension is a thin wrapper around the codeclone CLI:

  1. Discovers CLI (settings → venv → PATH → python -m)
  2. Runs codeclone analyze <repo> --json
  3. Validates output against frozen schema (v0.1)
  4. Publishes diagnostics to Problems panel

Severity comes from each diagnostic's severity field, not from the overall status.

CLI Discovery

  1. User Setting — codeclone.cliPath (explicit wins)
  2. Workspace Venv — .venv/bin/codeclone or .venv/Scripts/codeclone.exe
  3. PATH — codeclone executable
  4. Python Module — python -m codeclone_cli

Troubleshooting

CLI Not Found

pip install codeclone-cli

Or set codeclone.cliPath to the full path in settings.

Incompatible Schema Version

pip install --upgrade codeclone-cli

View Output

Open the Output panel (Ctrl+Shift+U) and select "CodeClone".

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft