Skip to content
MVP · local developer tool

ImpactLens — map the impact of code changes

A local extension for VS Code and Kodik that shows which files, API routes, functions, classes, methods, and tests may be affected by current changes or a pull request.

Capabilities

What ImpactLens does

Detects changes

Detects supported changed files through Git.

Builds an impact map

Builds a file-level dependency map.

Shows routes and code elements

For Python/FastAPI, shows affected API routes, functions, classes, and methods.

Suggests tests

Suggests targeted tests and run commands.

Works with pull requests

Analyzes current changes and pull requests through an available VS Code GitHub integration or GitHub CLI, and offers to fetch a PR branch when needed.

Adds AI guidance

On explicit request, creates a review summary, risks, a verification plan, and a repair plan for failed suggested tests after they run.

ImpactLens provides deep support for Python/FastAPI: the extension finds FastAPI routes, Pydantic models, functions, classes, methods, and pytest tests. TypeScript, JavaScript, Go, Java, C#, and C/C++ have basic dependency and test-file analysis.

Core analysis runs locally and does not depend on an LLM. AI is used only for explanations, a review summary, a test plan, and a repair plan for failed tests on top of facts already found. AI receives compact analysis facts and test-run results, not the entire project source code.

Review focus

Why it matters

  • Understand the consequences of a change faster, before review.
  • Focus review on locations that are actually affected.
  • Avoid manually searching for dependencies, routes, and tests.
  • Run relevant suggested tests instead of the entire test suite.
  • See why a file, route, or code element entered the report.
  • Copy a summary or PR report into the pull request discussion.
Before and after

From a change to a clear verification plan

Before ImpactLens

A developer changes the Event Pydantic model and manually searches for API routes, handlers, services, and tests that depend on the schema.

With ImpactLens

ImpactLens assembles one report with changed files, affected API routes, functions, classes, methods, suggested tests, impact reasons, risk level, and AI recommendations.

The result remains conservative static-analysis guidance, not proof that every runtime effect has been found.

Installation

Four steps to the first run

  1. 1

    Open the ImpactLens page in Visual Studio Marketplace and select Install.

  2. 2

    Confirm opening VS Code or Kodik and wait for the extension to install.

  3. 3

    Open the workspace and run ImpactLens: Check Setup.

  4. 4

    If Python is not found, set impactlens.pythonPath.

For a manual or offline installation, download impactlens-vscode-*.vsix from GitHub Releases and select Extensions → the additional actions menu → Install from VSIX….

Quick start

How to use it

Open ImpactLens in the Activity Bar, select current changes, one file, or a pull request, and choose an analysis mode. From the report you can open related code, run one or all suggested tests, copy Markdown, and manually request AI recommendations.

  1. 1

    Open the ImpactLens view in the Activity Bar.

  2. 2

    Select all current changes, one changed file, or a pull request.

  3. 3

    Choose Fast check, Normal analysis, or Deep analysis. On large projects, start with Fast check or Normal analysis.

  4. 4

    Review impact summary, review gate, analysis quality, modified files, affected files, affected routes, affected functions/classes/methods, suggested tests, and AI Suggestions.

  5. 5

    Run one suggested test or select Run all suggested tests to check relevant tests directly from the report.

  6. 6

    If suggested tests fail, select Fix failed tests: ImpactLens sends compact test results and analysis facts to the LLM to obtain a repair plan.

  7. 7

    Open an affected file or related code, copy the report, or request AI recommendations.

Analysis depth can be set to 1 level, 2 levels, 3 levels, or all dependency levels. For large projects, limit depth, set exclude patterns, and configure limits for displayed code elements and tests so the report remains fast and readable.

Interface

From summary to review plan

The report shows an impact summary, readiness for review, analysis quality, changed and affected files, routes and code elements, recommended tests, and AI recommendations.

From the report, you can open an affected file, navigate to related code, run one test, run all suggested tests, copy the report, or request AI recommendations.

Walkthrough

Video walkthrough

The full walkthrough follows the path from a code change to pull request verification: creating a branch, changing the Event Pydantic model, analyzing the PR, reviewing the impact report, running suggested tests, obtaining an AI repair plan, applying a fix, and rerunning the tests successfully.

Video transcript
  1. 00:00–00:21 — Repository change. A project is open in VS Code and the supported changed files that start the analysis are shown.
  2. 00:21–00:43 — Pull request. The user selects a pull request and explicitly confirms analysis of the change set.
  3. 00:43–01:08 — Report with risk assessment. The summary shows changed and affected files, routes, code elements, suggested tests, the review gate, and the pre-merge checklist.
  4. 01:08–01:29 — Navigate to code. Affected files and locations connected to the impact reason are opened from the report.
  5. 01:29–01:48 — Failing suggested tests. The user runs suggested tests from the report and sees a relevant check fail.
  6. 01:48–02:12 — AI repair plan. Fix failed tests sends compact test results and analysis facts to the configured provider to obtain a repair plan.
  7. 02:12–02:35 — Fix. The developer changes the code using the report and the discovered test failure.
  8. 02:35–02:57 — Passing verification. The targeted tests run again and pass after the fix.
  9. 02:57–03:24 — Getting Started. The final screen shows the current configuration, local environment readiness, and the main ImpactLens entry points.

Try ImpactLens in your project

Install ImpactLens from Visual Studio Marketplace and try analyzing current changes or a pull request in your project.

Want to understand what is slowing your product down?

In a free 30-minute express review we name the likely causes and the next technical step.

Book an express review