The following sections explain the different options you can use for codean..
The following options determine which type of data to collect.
Process and display static data.
Process and display dynamic data.
Process and display coverage data.
You can specify multiple options or none. If none are selected, than the default is to process all possible options, depending on whether the .analyze/type/latest file exists, where type can be static, dynamic, or coverage.
The following options determine the content of the text output of your results.
Display the full file's path name.
Display only the issues in the specified source file.
Display the specified number of lines of the source code.
The following options determine the types of errors and warnings that are reported in the results.
The error or warning type can be one of the following:
A three-letter error code or a three-letter warning code. For a list of possible errors and warnings, see Appendix A, Errors Analyzed by Code Analyzer.
MLK or mlk, for memory leaks.
ALL or all, for all warnings or errors.
If the error or warning is not specified, the default is all.
The filtering options are:
Show only errors of the specified error type.
Show only warnings of the specified warning type.
Do not show errors of the specified error type.
Do not show warnings of the specified warning type.
You can save your latest results in a file, placed in a specific directory with specific tag names.
Save the latest reports.
When paired with –-save, names the saved copy with the tag name tag-name. If a saved copy has the same tag name, codean issues a warning message and then exits without overwriting the file. If no tag name is specified, codean checks the last modified time of the latest report of the executable and uses the time stamp as the tag name.
Overwrite the saved report with the same tag name.
Save the report to the directory directory.
The following options enable you to compare your results to a previously generated report.
Show only new issues. This option cannot be used with –-whatisfixed.
Show only fixed issues. This option cannot be used with –-whatisnew.
When paired with –-whatisnew or –-whatisfixed, uses the historic copy of the report with tag name tag-name to compare against newly generated report. If no tag name is specified, the latest report is compared against the last saved copy.
Must be paired with –-whatisnew or –-whatisfixed and must have a path name following it. This option specifies which file or directory to compare the new report against.