Metrics have always been very tightly coupled with software engineering. Love them or hate them, there is usually no avoiding them. In Understand 2.0 we've significantly increased our ability to provide useful metrics about your project.
The metrics capabilities vary depending on what version of Understand you are using: Understand Engineer provides high level project metrics, Understand Pro lets you explore and export project and entity level metrics, and Understand Analyst lets you do all that, create custom graphs, and even compare how metrics are changing over time (trend analysis).
All of this Metrics capability is accessed through the new Metrics menu.
| Engineer | Pro | Analyst |
| | |
Basic and Advanced Metrics
We've noticed that some basic metrics are more useful to engineers then others, such as number of lines of code, number of classes etc. while other metrics are usually more helpful for management and code analysis. Since Understand Engineer and Pro target programmers, these Basic metrics are available in all versions, while the advanced metrics are partially available in Pro and fully available in Analyst. Though which metrics are displayed depends on what languages are being analyzed, here is a list of what you can expect:
| Basic Metrics | Advanced Metrics (Partial list) |
|
For a full list see this list. |
Understand Engineer
Understand Pro
Metrics Browser
The metrics browser is an efficient way to access all of your available metrics. With the metrics browser you quickly see the high level project overview metrics from Understand Engineer. You can also drill down through your file structure or other architectures to quickly see the basic metrics for any subset of your code. For example, in this case I can quickly see how many lines of code Mark owns and the breakout of that code.
If I drill down to the file level, I can actually get the Advanced metrics for any particular file I'm interested in as well.
Average Complexity | Sum Complexity |
| This graph shows how complex your code is on average using the cyclomatic complexity metric and also how deeply nested your code is. | And this shows the total number of paths through your code, the cumulative cyclomatic complexity, and essential complexity. |
Understand Analyst
Export to HTML
The entire set of Advanced Metrics in the Metrics Browser can be exported to HTML using Analyst. This report is perfect for posting on the team intranet and provides quick access to a very wide range of information.
The examples below are just a few reports generated almost instantly using Understand Analyst.
Code volume by Staff - Go Mark! | Code Breakdown by Language |
Classes Modified between builds by Staff | Files Changed between builds by staff |
Leave a comment