Abstract: The new Metric Browser comes with “View By” options to quickly organize and focus on relevant metrics and changes to metric configuration make it easier to select which metrics are shown.
You know the metric exists. You’ve used it before. But today it isn’t in the Metric Browser, and you have no idea where it went. Since Understand 6.4, groups of built-in metrics can be turned on and off. That keeps the list manageable, but it can also hide the one metric you need.
Understand 8.1 makes metrics easier to find, organize, and turn on.
Why Update Metrics?
The goal of both metric updates is the same: help you find the metrics you care about quickly. That usually comes down to two problems:
- The metric list is so long I can’t find anything in it, especially every time I switch to a new entity or architecture
- The metric I care about isn’t in the list
The 6.4 update tackled the first problem by shortening the list. 8.1 handles both: new ways to organize long lists, and every metric, built-in or plugin, managed in one place so it’s easy to find and turn on.
Navigating Metrics
Picking the list of metrics shown in the Metric Browser is still a powerful way to keep the metrics you care about front and center. But lists can still get really long. And, a personal pet peeve of mine, sometimes related metrics are far apart in the list. For example, if I want the line breakdown, chances are “Blank Lines” and “Code Lines” are reasonably close to each other, but “Lines” is going to be way down the list and “Preprocessor Lines” even further.

So, introducing the “View By” drop down. You can still view a flat list of metrics, as before. But I personally like the “Categories” view that keeps related metrics next to each other. Look at that, all my line metrics in a row!

But the best is yet to come. Sometimes, I just want to focus on a subset of metrics. For these temporary tasks, you can pick some of the narrower “View By” categories. For example, just show the enabled “Hersteller Initiative Software (HIS) Metrics”. Not only does it only show the HIS metrics, it also uses the HIS metric names instead of the Understand ones!

Metric Visibility
All of that helps with navigating metrics, but what if your metric still isn’t there? There are over 400 metrics at the time of this writing. That is still too many to show them all by default. Also, some metrics are slow, or very similar. For instance, CountClassCoupled and CountClassCoupledBatch are the same metric, just optimized for different views.
So, you still have the power to pick which metrics are visible (enabled). But all metrics are now controlled through the Plugin Manager. Not only do you no longer have to know which metrics are built-in versus plugins, but now you can also control built-in metrics individually. The Plugin Manager got improvements too.
Configuring metrics is also easier to find. There’s a top level shortcut, and links from metric windows like the Metric Browser. (Bonus: double click a metric in the browser to open the Plugin Manager to that page so you can read the full description):

Conclusion
This blog article just covers a few of the highlights. (For a few more, did you notice the Metric Browser populates incrementally and cancels faster, or that the metric export now lets you import and export lists of metrics, or that lots of new comparison metrics have been added?). But what really matters is your feedback. Are there Metric Browser “View By” groups you’d like to have? Do you want to be able to make custom “View By” lists? Are there metrics you wish we had? Tell us what features you want to see.






