Visual Studio Extension for extracting architecture information
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.


Dive into architecture with DeepEnds...

Binaries are available as a Visual Studio extension and as a NuGet package.


DeepEnds analyses the dependencies between children of a node in a tree. The tree hierarchy may be formed from namespace and class, file name and filter or in a bespoke manner. The software is supplied as a Visual Studio 2015 extension that calls into a console application allowing for batch running.


Visual C++

The software takes a list of sln and vcxproj files and will parse C++ source files for their #include statements, these source files then form the leaves of the tree. The hierarchy is composed from the filter as specified in the associated vcxproj.filters files.


The software takes a list of sln, csproj, vbproj and .NET assemblies (exe, dll) and extracts a hierarchy based on namespace and class.

Doxygen XML output

The software takes a single XML file path and scans its parent directory for all XML files. The software then reads any specified compounddef and memberdef items to form the leaves. This also allows the user to input data from their own parser where a leaf can be represented by XML of the form

  <compounddef id="class_f_e_a_1_1_labels_1_1_mapped" kind="class">
    <ref refid="class_f_e_a_1_1_labels_1_1_base"/>

where id and refid are identifiers for the leaves and the hierarchy is specified in compoundname using :: as a separator.


The software will read in a DGML file which may be produced by this software or another tool


DGML graph


This XML file format has a viewer within Visual Studio that displays nested graphs in an interactive editor.

CSV table

For each graph a series of statistics are reported:

  • Whether there is a cycle
  • The Cyclomatic number
  • The number of leaves which aren't a child, grandchild, etc. of the graph
  • The sum total number of lines of code
  • The average number of lines of code of the leaves

HTML / Markdown report

In addition to the table contained in the CSV file a number of other tables are displayed. These are described in the report itself and can be found in example output.

Doxygen comments

The contents of the HTML report are written out as equivalent comments to be parsed by Doxygen. Additionally each graph is written out for processing by Dot to produce an embedded image of the graph. Note that for a large project it is possible for this to overwhelm Doxygen.

Further reading


Design of this code