This is an old revision of the document!
Back to 2014-proposals
Title:Generative C++: Visualizing Code
Proposer: Martin Waplington
Proposer: Donal Mulvany
Type: Case-Study
Duration: 90 mins
Description:
The code you work on is often a complex mass; never is the documentation a true reflection of the code. Existing brown field work is almost void of any engineering diagrams that reflect the composition of the code base.
Using clang as a source code analyser it is easy to generate diagrams via technologies such as graphviz, XMI, gnuplot, or even Visio! (Seriously, drawing diagrams in Visio with a mouse is not for the impatient.)
We show you how to use clang to generate detailed:
Entity relationship diagrams.
Sequence diagrams.
Dependency diagrams.
But you can also generate diagrams that don't really have a formal name but are useful to you, from tracking the lifetime of a message object in a multithreaded application through to analysing the evolution of that object in source control history. The point is that using clang you can completely specify the analysis that you want.