Oracle® Solaris Studio 12.4: Code Analyzer User's Guide

Exit Print View

Updated: October 2014
 
 

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.

  • For the .analyze/type/latest report, calculate a checksum for each issue and store the original issue information in the .analyze/history//type 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.

  • Show only new or fixed issues in the report.

  • Specify the directory in which to save your reports.

  • Filter the types of errors and warnings to display.

For more information, see the codean(1) man page.