Oracle Solaris Studio 12.4 Man Pages

Exit Print View

Updated: January 2015
 
 

code-analyzer(1)

Name

code-analyzer - Oracle Solaris Studio Code Analyzer

Synopsis

code-analyzer
     binary_to_analyze  [--userdir  path]  [--jdkhome path]
     [-V|--version] [-?|--help

Description

The Code Analyzer displays the results three types of analysis:

  • Static code checking performed by building your binary with the -xanalyze=code 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

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>/netbeans/bin/netbeans --help

See also

discover(1), uncover(1)

Code Analyzer Tutorial