Revisiting how we detect and report duplicate lines of code, and creating a plugin metric to report it.
Category: Metrics
Overly Complex Files
Frustrated by vague code quality metrics? Explore how to translate CBR Insight’s metrics for file complexity, thresholds, and comment to code ratio into equivalent custom Understand metrics to gain a more nuanced understanding of your code’s quality.
Git Plugins for Understand
Cool Git plugins for Understand to access commits, authors, owners, cohesion, coupling, and dates.
Cognitive Complexity Metric Plugin
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.
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.
Showing Line Coverage
Introducing custom line metrics in Understand – with examples showing coverage and violation information integrated into Control Flow and Data Flow Graphs.
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…
Understand 6.3 Release
The Understand 6.3 release highlights the tools’ newest features and upgrades. Some of these improvements enhance existing tools, while others offer brand-new capabilities. Topics covered in this article include graph customization, continuous CodeCheck verification, a customizable Violation Browser, automated dependency rules, automatic architectures, AUTOSAR support, spell checking for comments/strings, SARIF imports feature, support for C#11, minor metric changes, and a new Jenkins plugin.