Go to main content
Oracle® Developer Studio 12.6: Code Analyzer User's Guide

Exit Print View

Updated: June 2017

Code Analyzer Command-Line Interface

The command-line interface version of Code Analyzer, codean, reads the analytics file as input and generates output in text and HTML formats, using static code checking, discover, and uncover. It also provides a mechanism to store data in an history archive for later comparison of newer data with historic data. codean enables you to do the following:

  • Read in the report in API format and transform the information into text and HTML format. codean saves text output to a .type.html file, where type can be either static, dynamic, or coverage.

  • Show only the new or fixed issues in the latest report and compare it to previously saved reports.

  • Specify what type of data to collect: dynamic, static, coverage, or all.

  • Display the full path name.

  • Display issues in specific source files.

  • Display a certain number of lines from the source code.

  • Save the latest reports.

  • Overwrite the last saved report with the same tag name.

  • Specify the directory in which to save your reports.

  • Filter the types of errors and warnings to display.

For more information, see codean(1).