What if a messy-looking graph could actually tell you something useful about your codebase?




In this video, we walk through a plugin built by our engineer Natasha that visualizes how functions and objects inside a class or file connect to each other - all using a "spaghetti graph" layout. We'll look at a few real-world classes from the CMake source code and show how the graph reveals things like cohesion problems, key functions, and utility class patterns.


This video is based on Natasha's blog post, which goes deeper into the design decisions behind the plugin if you want the full story:

https://blog.scitools.com/spaghetti-calls/


The plugin, "Calls & Called By – Internal with Objects," is available in our plugins repository:

https://github.com/stinb/plugins


Try it on your own codebase and let us know what you find!