Start here

Home
About Klocwork
What's new
Fixed issues
Release notes
Installation

Reference

C/C++ checkers
Java checkers
C# checkers
MISRA C 2004 checkers
MISRA C++ 2008 checkers
MISRA C 2012 checkers
MISRA C 2012 checkers with Amendment 1
Commands
Metrics
Troubleshooting
Reference

Product components

C/C++ Integration build analysis
Java Integration build analysis
Desktop analysis
Refactoring
Klocwork Static Code Analysis
Klocwork Code Review
Structure101
Tuning
Custom checkers

Coding environments

Visual Studio
Eclipse for C/C++
Eclipse for Java
IntelliJ IDEA
Other

Administration

Project configuration
Build configuration
Administration
Analysis performance
Server performance
Security/permissions
Licensing
Klocwork Static Code Analysis Web API
Klocwork Code Review Web API

Community

View help online
Visit RogueWave.com
Klocwork Support
Rogue Wave Videos

Legal

Legal information

Customizing metrics reports in Klocwork Static Code Analysis

By default, the list of available Metrics report types in Klocwork Static Code Analysis includes:

  • Churn
  • Size
  • Complexity

You can customize the available metrics reports in Static Code Analysis by customizing the default Size and Complexity report types, adding new report types based on Klocwork metrics, and adding custom report types based on metrics you define. Once you have added new metrics report types to this list, you can also generate reports based on these types, save them, and make them public, so that all Static Code Analysis users will see them in the Reports tree.

Migration note: When a projects_root is migrated, the Size and Complexity definitions in metrics.xml are disabled. (In new projects_roots, they are disabled by default.) If you enable either of these reports without renaming them, they show up as duplicates in the list of available report types in Static Code Analysis.