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

Issue states

Issue states are read-only indicators that trace the history of an issue from the time it is first detected to the time when it is fixed.

  • When issues are first detected in a build, they are labeled New.
  • Issues that existed in the previous build but not in the current build are labeled Fixed.
  • Issues detected in both the current and the previous build are labeled Existing.

States are shown in Klocwork Static Code Analysis. (The issue origin, not state, is shown in desktop analysis results.)

There are two scenarios in which state is used in Klocwork Static Code Analysis: searching and build comparison. By default, a Klocwork Static Code Analysis search returns only New and Existing issues, not Fixed. When comparing two builds, the state is determined based on the builds you're comparing.

It's easiest to explain the three possible states with a build comparison example. Say we're comparing Build_1 with Build_3. It's important to note that these two builds are not consecutive.

This example finds issues detected in Build_3, but not in Build_1. This does not mean that these issues were introduced in Build_3; they may have been introduced in Build_2:

diff:build_1,build_3 state:New

This example finds issues detected in both Build_1 and Build_3:

diff:build_1,build_3 state:Existing

This example finds issues detected in Build_1, but not in Build_3. This does not mean that these issue were fixed in Build_3; they may have been fixed in Build_2:

diff:build_1,build_3 state:Fixed

Migration recommendation: We recommend running your final pre-upgrade analysis and your first Klocwork 2018.1 analysis on identical source code, and then comparing the two builds, so that you can properly assess the changes in your analysis results due to improvements in our analysis engine.