Klocwork command reference
This page provides an index of Klocwork commands. For Validate commands, see the Validate command reference.
| Command | Description |
|---|---|
| kwadmin | administers integration projects and builds |
| kwagent | runs analysis agents as part of a distributed Klocwork analysis |
| kwanalysis | administers integration projects and builds and consolidates legacy executables (kwbuildproject, kwcheck, kwciagent) under one interface |
| kwandroid | allows you to obtain the build specification file for an Android project (versions 10, 11, 12, 13, 14, 15) |
| kwant | creates a Java build specification based on the information in your ant build file |
| kwauth | allows users to authenticate with the Klocwork Server |
| kwauthconfig | allows you to manage your Klocwork Security Configuration settings |
| kwauthconfigw | allows users to launch the Klocwork Security Configuration tool |
| kwbazel | analyzes projects built with the Bazel build system |
| kwbuildproject | runs the integration build analysis |
| kwchangestatus | allows you to connect to the Klocwork Server and cite defects from the command line |
| kwcheck | a desktop analysis tool for C/C++ and Java developers using IDEs and text editors that aren't supported by Klocwork in the form of an IDE plugin |
| kwciagent | a CI analysis tool for C/C++, C#, and Java developers using IDEs and text editors that aren't supported by Klocwork in the form of an IDE plugin |
| kwcollect | a lightweight tool that you can use to collect data |
| kwconv | converts Klocwork configuration files to UTF-8 encoding |
| kwcreatechecker | creates custom checkers |
| kwcscollect | a lightweight tool that you can use to collect data about C# projects |
| kwdefectimport | imports external defects into Klocwork |
| kwdeploy | deploys custom checkers from the <projects_root>/plugins folder to the build environment (<server_install>/plugins) |
| kwdist | starts the Distributed Analysis Server that is used to control a remote analysis and distribute work to hosts running analysis agents |
| kwdistadmin | manages sessions on the Distributed Analysis Server, stops the Distributed Analysis Server and agents, and retrieves agent statistics from the Distributed Analysis Server |
| kwdtagent | starts the remote desktop agent for running Klocwork Desktop in remote mode |
| kwecbuild | runs a distributed integration build analysis of a C/C++ project based on emake (the Electric Cloud version of make) |
| kwgcheck | starts Klocwork Desktop |
| kwgradle | creates a build specification using your Gradle build file |
| kwgradlew | creates a build specification using your Gradle wrapper |
| kwinject | monitors your C/C++ build to create a build specification |
| kwjava | compiles Klocwork Java source code |
| kwjsspec | creates a JavaScript build specification based on the arguments you pass to it |
| kwjsspecimport | If you're already analyzing your projects and have a '.eslintrc' file available, you can use this tool to help you get setup with Klocwork Static Analysis more quickly since it takes care of much of the configuration |
| kwktspec | creates a Kotlin build specification based on the arguments you pass to it |
| kwktspecimport | If you're already analyzing your projects and have a detekt YAML configurarion file available, you can use this tool to convert it to a Klocwork configuration file (.pconf) |
| kwlogparser | converts your build log into a Klocwork build trace; allows integration with Electric Cloud |
| kwmaven | creates a Java build specification based on the information in your maven build file |
| kwmavenw | creates a Java build specification based on the information in your maven wrapper |
| kwprojcopy | export a copy of a server project and stores it locally |
| kwpyspec | creates a Python build specification based on the arguments you pass to it |
| kwpyspecimport | If you're already analyzing your projects and have a '.pylintrc' file available, you can use this tool to help you get setup with Klocwork Static Analysis more quickly since it takes care of much of the configuration |
| kwqacimport | convert a Perforce QAC project into valid Klocwork tables, which you can import into the Validate Portal |
| kwservice | administers the Validate Servers |
| kwshell | monitors your C/C++ build to generate a build specification for kwcheck or for Klocwork Desktop for C/C++ |
| kwtoolstore | interact with a tool store through a Validate server configured to use it |
| kwtoolstoreservice | set up, start and stop a standalone analysis tool store |
| kwupdate | lists installed components and installs/uninstalls patches |
| kwuser | resynchronizes user and group information with an NIS server |
| kwwebappscan | scans a directory for Web applications and creates a build specification |
| kwwrap | provides an alternate method of generating a build specification for C/C++ projects, if kwinject alone does not work in your environment |
| kwxsync | synchronizes issue status updates and comments, along with the ID of the user who made the changes, among projects that you specify |