New in CppDepend 2027
Architecture Blueprint
Components, layers, violations and the cheapest way to break each dependency cycle.
The Blueprint (section Design & Architecture) draws the architecture of your code base as components and layers, finds the dependencies that break it, and suggests the cheapest way to repair it.
- Automatic components: namespaces (C++), packages (Java) or projects are grouped into the number of components you ask for; components that are too small are merged into their parent or into “(other)”. Anonymous namespaces can be hidden.
- Declared layers: load or write your own layer rules (Configure layers…, Load a rules file…, Save an example file). A dependency that points to a layer above is a violation and is drawn in red.
- Cycles: for every dependency cycle, the blueprint proposes the smallest-weight set of component dependencies whose removal leaves no cycle. The weight of a dependency is the number of unit-level dependencies behind it, i.e. the work to remove it.
- Drill-down: click an arrow, or a name under Uses / Used by, to see the dependencies behind it. Third-party usage is shown per component.
- Change coupling: with a git repository, each component shows what it changes together with, so hidden coupling is visible next to the declared one (see Git Insights).
- Copy as Markdown report and Copy as Mermaid diagram for documentation and pull requests.
- Copy rule: generates a CQLinq rule for all layer violations, or only the new violations since the baseline, ready to paste into a quality gate.
