CppDepend AI
What you get
cppdepend-ai analyze prepares small files in the cppdependai folder (inside the output folder of your CppDepend project). Your assistant reads them, you do not have to. Do not edit them: they are rewritten on every analysis, and do not commit them to git.
| File | What it tells |
|---|---|
summary.json |
the big picture: counts, issues by severity, worst issues, riskiest code, dependency cycles, quality gate result |
diff.json |
what your change introduced compared with the baseline: new issues, new and changed methods |
issues.jsonl |
every issue, one per line, worst first, with file and line |
rules.json |
for each violated rule: what it means and how to fix it |
hotspots.json |
the riskiest types: complex and tightly coupled and often changed |
dependencies.json |
dependencies between namespaces and projects, and cycles |
metrics.jsonl |
size, complexity, maintainability and coverage of namespaces, types and the most complex methods |
review.md |
the ready-to-post review (only after cppdepend-ai review) |
Anything these files do not answer, your assistant asks CppDepend directly with explain or query.
Good to know
- "New issues" needs a baseline in your CppDepend project.
- Hotspots use your git history to know what changes often. Without git, only complexity and coupling count.
- The files describe the code at the time of the analysis. After you edit code, run
cppdepend-ai analyze --runagain.
