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

Reporting false positives

If you want to collect false positives and package them as a zip file to send to Klocwork Support, you can create a report by clicking on the Report FP button in the issue details page within Klocwork Static Code Analysis.

This button is available to all users. If you prefer to disable it, an administrator can remove it by doing the following:
  1. In the <server_install>/3rdparty/tomcat/bin/ folder, open the setenv.bat (Windows) or setenv.sh (Linux) file in the editor of your preference.
  2. Change the 'JAVA_OPTS' variable found within this file.

    On Windows, change:

    set JAVA_OPTS=%JAVA_OPTS% -XX:MaxPermSize=128m
    to
    set JAVA_OPTS=%JAVA_OPTS% -XX:MaxPermSize=128m -Dklocwork.false_positive_report_enabled=false
    On Linux, change:
    JAVA_OPTS="-XX:MaxPermSize=128m" $JAVA_OPTS
    to
    JAVA_OPTS="-XX:MaxPermSize=128m -Dklocwork.false_positive_report_enabled=false" $JAVA_OPTS​
  3. Save the file and restart the Klocwork servers.
Note: This setting can only be enabled or disabled for the entire installation. If you choose to disable it, none of your users will be able to use this functionality.