Comparing two builds in Klocwork Static Code AnalysisComparing two builds in Klocwork Static Code AnalysisYou can compare two builds using a specific search syntax in Klocwork Static Code Analysis. This allows you to see what changes have occurred between those two builds (for example, to see what issues have been fixed between builds). When should you compare builds?Typically, the build comparison would be most helpful in two situations:
For other comparisons, reports probably better suit your needs. Using the build comparison syntax
ExamplesIf you simply specify two builds, you see a list of all issues that exist in both specified builds: diff:build_1,build_5 Using the keyword state with New, Fixed or Existing filters the list of issues by state. This example shows you all issues that have been fixed between build_1 and build_5: diff:build_1,build_5 state:Fixed You can also use the keyword last to compare a specific build to the most recent build: diff:build_3,last |