code-analyzer - Oracle Developer Studio Code Analyzer
code-analyzer binary_to_analyze [--userdir path] [--jdkhome path] [-V|--version] [-?|--help
Code Analyzer displays the results three types of analysis:
Static code checking performed by building your binary with the -xprevise=yes option
Dynamic memory access checking performed by running the binary after instrumenting it with Discover
Code coverage analysis performed by running a test suite on the binary after instrumenting it with Uncover
Opens the Code Analyzer GUI with the static, dynamic memory, or code coverage issues found for the specified binary displayed in the Results tab.
Explicitly specifies the path to the directory where Code Analyzer stores your settings. If this option is not given, the location of your user directory is $HOME/.oracledevstudio/code-analyzer-version-operating_system-processor_type.
Explicitly specifies the path to the JDK. If this option is not given, the command looks for the JDK in your PATH. If it cannot find a JDK in your path, it looks for one in /usr/jdk and /usr/java. If you specify a JDK path with the --jdkhome option and the command finds an invalid JRE at that location, it issues a warning and terminates its search.
Displays version information.
Displays the list of command-line options.
For additional options, type
/<installation_directory>/netbeans/bin/netbeans --help
Code Analyzer Tutorial, Code Analyzer User's Guide