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.
Category: 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.
Showing Line Coverage
Introducing custom line metrics in Understand – with examples showing coverage and violation information integrated into Control Flow and Data Flow Graphs.
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.
Updated Metrics in Understand 6.4
Abstract: Learn what’s changed with Metrics in Understand 6.4. What happened to metric …!?!? If you don’t see your favorite metric right away, don’t panic. Understand 6.4 made some changes to metrics,…
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…
Visualize Code Coverage in Understand
Abstract: This article generates code coverage information for openssl and shows a few ways to use the information. I have to admit that the only time I’ve used code coverage is for…
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…