Kwktspec

The kwktspec command creates a Kotlin build specification based on the arguments you pass to it.

Prerequisites

Before you can create a build specification, you need to install the Server package. See Installing Klocwork.

For more information, see Creating a Kotlin build specification.

Usage

kwktspec <options>

where <options> are any arguments required for your build.

Options

Name (and short name) Description
--help (-h) display help
--version display kwjsspec version
--output <file> (-o) write the build specification to <file>. By default, the build specification is written to kwktspec.out in the current working directory.
--classpath <string> paths where to find user class files and depending jar files, separated by comma (,). Used for type resolution.
--excludes <string> globbing patterns describing paths to exclude from the analysis, separated by comma (,).
--includes <string> globbing patterns describing paths to include in the analysis, separated by comma (,). Useful in combination with excludes patterns.
--plugins <string> extra paths to plugin jars, separated by comma (,).
--parallel enables parallel compilation and analysis of source files.
--statistics-reports prints complexity report and project statistics to the build.log.