Having problems with threading? Check out these plugins to identify shared global objects. The plugins also use a cool trick: architectures as entity tags to store information like thread priorities.
Category: Useful Scripts
Duplicate Lines of Code
Revisiting how we detect and report duplicate lines of code, and creating a plugin metric to report it.
Dependency Networks with Understand
A script to calculate and display design structure matrices based on file dependencies—plus lots of cool metrics based on the matrix.
Custom Report: Finding Parameter Values
Understand’s Python API makes it a great platform for creating quick tools to explore exactly what you are interested in. In this case, I was curious if a default parameter was ever set to a non-default value or if a given parameter is always the same value. Check out these two custom interactive reports that show parameter values for each call.
Feasting on My Own Dog Food
Understand complements my primary editor, VS Code, rather than replacing it. It’s an essential part of my workflow for personal projects, especially when it comes to easily visualizing the underlying types of variables and functions. It’s the best of both worlds!
Create Beautiful Overview Graphs of Your Code
Five minutes with the free tool Gephi lets you turn Understand’s dependency data into a gorgeous overview of your project.
Making a Variable Tracker Graph
Use Understand’s Information Browser to find and graph all possible variables of your source code.
Friends Don’t Let Friends Have C++ Friends
An interactive report to show all the references that depend on C++ friend statements.
Virtually Execute Code with Understand
Abstract: A script for virtually executing code. A debugger inside Understand sure would be nice. I hope I’m not the only one out there who uses Understand while debugging. Integrating a debugger…
Adding ChatGPT and AI to Understand
Creating an easy plugin that uses OpenAI to explain your code