Analysis configuration

CAST Imaging Console exposes the Technology configuration options once a version has been accepted/imported, or an analysis has been run. Click PowerBuilder to display the available options:

Technology settings are organized as follows:

  • Settings specific to the technology for the entire Application
  • List of Analysis Units (a set of source code files to analyze) created for the Application
    • Settings specific to each Analysis Unit (typically the settings are the same as at Application level) that allow you to make fine-grained configuration changes.

You should check that settings are as required and that at least one Analysis Unit exists for the specific technology.

Click to enlarge

PowerBuilder version Select the PowerBuilder version that corresponds to the version of the application you want to analyze.
Dashes in identifiers allowed

This option is identical to the PowerBuilder option of the same name. Activating this option (the option is activated by default) will force the analyzer to take into account code that includes dashes in identifiers. For example:

int -Myvar
int a
a = a - -Myvar

If the option is deactivated, the above code would produce syntax errors and will not be correctly interpreted by the analyzer.

Dependencies

Dependencies are configured at Application level for each technology and are configured between individual Analysis Units/groups of Analysis Units (dependencies between technologies are not available as is the case in the CAST Management Studio). You can find out more detailed information about how to ensure dependencies are set up correctly, in Validate dependency configuration.

Analysis Units

For PowerBuilder, there are no Analysis Unit level settings available. You can however:

Analyze a specific Analysis Unit (and all Analysis Units within the Execution Unit), specifically for testing purposes.

Disable or enable the analysis of a specific Analysis Unit, when the next Application level analysis/snapshot is run. By default all Analysis Units are always set to enable. When an Analysis Unit is set to disable, this is usually a temporary action to prevent an Analysis Unit from being analyzed.