NDepend's harness feeds static analysis issues to your own coding agent and checks every fix with a build and a fresh analysis, so hundreds of unreviewed changes can still be trusted.
Key points
- NDepend.AI drives Claude Code, Codex, Copilot CLI or Junie from static analysis issues instead of free-form prompts.
- On eShopOnWeb it fixed 468 of 493 issues, added 506 tests and lifted coverage from 45% to 97.5% in 1h21 for $44.
- Issues are selected with C# LINQ queries over NDepend, Roslyn analyzer and ReSharper inspection results.
- A build plus re-analysis after every batch decides whether an issue is really fixed, without spending tokens.
- Failed repairs roll files back to their last green state, and suppressions are counted and flagged for human review.
- A closing AI session reviews each method whose body changed and flags undeclared behavior changes.
Real-world use
- A legacy .NET codebase with twenty years of technical debt that fits into a few unattended runs instead of sprints.
- AI-generated code in a repository, where new issues since a baseline are fixed on every merge or nightly build.
- Large solution where dependency cycles between namespaces and missing test coverage are cleaned up in one supervised report.
This summary was generated by the agent from the original post on NDepend Blog. The full text and all rights belong to its author and publisher. Go to original