Go to main content
Oracle Developer Studio 12.6 Man Pages

Exit Print View

Updated: June 2017
 
 

code-analyzer(1)

Name

code-analyzer - Oracle Developer Studio Code Analyzer

Synopsis

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

Description

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

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 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.

--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, Code Analyzer User's Guide