code-analyzer(1)code-analyzer(1)NAMEcode-analyzer - Oracle Solaris Studio Code Analyzer
SYNOPSIScode-analyzer
binary_to_analyze [--userdir path] [--jdkhome path] [-V|--ver‐
sion] [-?|--help
Description
The Code Analyzer displays the results three types of analysis:
o Static code checking performed by building your binary with the -xan‐
alyze=code option
o Dynamic memory access checking performed by running the binary after
instrumenting it with Discover
o Code coverage analysis performed by running a test suite on the
binary after instrumenting it with Uncover
OPTIONS
binary_to_analyze
Opens the Code Analyzer GUI with the static, dynamic memory, or
code coverage issues found for the specified binary displayed in
the Results tab.
--userdir path
Explicitly specifies the path to the directory where the IDE
stores your setting s. If this option is not given, the location
of your user directory is $HOME/.solstudio/code-analyzer-1.0-beta.
--jdkhome path
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.
--version
Displays version information
-?
--help
Displays the list of command-line options.
For additional options, type /<installation_directory>/net‐
beans/bin/netbeans --help
SEE ALSOdiscover(1)uncover(1) CodeAnalyzerTutorial
June 2011 code-analyzer(1)