A detailed technical description of how to calculate cognitive complexity using Understand’s API and why the cognitive complexity metric could be important to you.
Tag: api
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!
Showing Line Coverage
Introducing custom line metrics in Understand – with examples showing coverage and violation information integrated into Control Flow and Data Flow Graphs.
Metric Plugins
Abstract: Understand 6.4 let’s you create your own metrics. Understand comes with a lot of built-in metrics, like the number of code lines or the McCabe cyclomatic complexity of a function. Not…
Friends Don’t Let Friends Have C++ Friends
An interactive report to show all the references that depend on C++ friend statements.
Making a Custom IOCTL Calls Tree
A sample plugin to add edges between IOCTL commands and driver code.
Making a Custom Cluster Graph
Extend the custom architecture dependencies graph by adding clusters.
Making a Dependency Graph with Custom Dependencies
A sample python graph plugin to add custom dependencies to an architecture dependency graph.
Making a Custom Architecture Tree
How to create a custom architecture tree using the Python API.