The following table describes the possible Fortify Static Code Analyzer exit codes.
|2||Invalid input files
(this could indicate that an attempt was made to translate a file that has a file extension that Fortify Static Code Analyzer does not support)
|3||Process timed out|
|4||Analysis completed with numbered warning messages written to the console and/or to the log file|
|5||Analysis completed with numbered error messages written to the console and/or to the log file|
|6||Scan phase was unable to generate issue results|
By default, Fortify Static Code Analyzer only returns exit codes 0, 1, 2, or 3.
You can extend the default exit code options by setting the
com.fortify.sca.ExitCodeLevel property in the
Note: The equivalent command-line option is
The valid values are:
nothing—Returns exit codes 0, 1, 2, or 3. This is the default setting.
warnings—Returns exit codes 0, 1, 2, 3, 4, or 5.
errors—Returns exit codes 0, 1, 2, 3, or 5.
no_output_file—Returns exit codes 0, 1, 2, 3, or 6.