AIP Console
AIP 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. See PowerBuilder - Prepare and deliver the source code for more information about this option. | ||||
---|---|---|---|---|---|
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:
|
CAST Management Studio
Introduction to analysis configuration options
The CAST Management Studio has three levels at which analysis configuration options can be set:
Technology |
|
Application |
|
Analysis Unit |
|
Some settings at Application and Analysis Unit level have a "Reset" option - using this will reset the option to the value set at the parent level:
Auto-configuration validation
Technology / Application level
Using the Technology level or Application level options, validate the settings for PowerBuilder packages. Make any update as required. These settings apply to the Technology or Application as a whole (i.e. all Analysis Units):
Analysis Unit level
To inspect the auto-generated analysis configuration, you should review the settings in each Analysis Unit - they can be accessed through the Application editor:
Technology options
The available options for configuring an analysis are described below. Note that some options are not available at specific levels (Technology/Application/Analysis Unit):
Source Settings
This tab shows the location of each type of source code in the PowerBuilder Analysis Unit - this is determined automatically by the CAST Delivery Manager Tool. You should, however, review the configuration and make any changes you need:
Project path | The file based location of the corresponding project. This field is read-only. When the field contains User defined, this indicates that the Analysis Unit has been defined manually instead of automatically following the use of the CAST Delivery Manager Tool. | |
Target | Indicates the path to the .PBT file for analysis purposes. If this Analysis Unit is automatically defined, then this field will already be populated. You can choose a different source code location (use Browse) - or use the Reset button to re-populate the field with the information from the parent Application. |
Analysis
The settings in this tab govern how the source code is handled by the analyzer:
Click to enlarge
PowerBuilder version | Select the PowerBuilder version that corresponds to the version of the application you want to analyze. |
Path to pborcXX.dll | Specify the location of the pborcXX.dll file in this field (this file is part of the PowerBuilder IDE and must be installed on the same machine on which the CAST Management Studio is installed). Use the Browse button to locate the file. The pborcXX.dll file is required when the analysis is run. |
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. |
Production
Click to enlarge
The Production tab is only visible at Technology and Application level.
Dynamic Links Rules
See the CAST Management Studio help for more information about this global option.