Code Analysis preferences

These preferences are available from the Window > Preferences > Micro Focus > COBOL > Code Analysis page. This page has five sub-pages:

Analysis Results
Use this page to colorize the different code analysis results displayed throughout the IDE, predominantly within the Analysis view. Select the current color for each element, and use the palette to select the desired color.
Application Wide Knowledge
Use this page to set the timeout preferences (in seconds) of a number of operations, which may take a long time when run against a remote EA server.
Analysis Assistant
Use this page to control the behavior of the Analysis Assistant chat window.
Content Assist
Enable auto activation
Controls whether the Content Assist will show automatically when typing in the Analysis Assistant view. Note that Content Assist can always be manually triggered with CTRL+SPACE.
Auto activation delay (ms)
Number of milliseconds before Content Assist is automatically shown.
Show after characters typed
Number of characters that must be present on the current word being typed before auto activation occurs.
Complexity Report
Use this page to configure the layout of the Complexity Report. Each tab represents a type of Complexity Report. Within the tabs, select or deselect which columns to display in the generated Complexity Report.
Data Flow Options
Use this page to configure the behavior when analysing incoming and outgoing flow paths of data items, which allows you to see how changing a data item affects the program.
Colors
Configure the colors for duplicate node selection and out-of-date nodes.
Relationships (Intra-Program)
Select the type of intra-program relationships that you want to be included in the data flow analysis:
MOVE A TO B (move)
A data item moved to a data item of the same type.
MOVE A TO B with data conversion (cast)
A data item moved to a data item of a different type.
STRING A ... INTO B (comp)
An arbitrary computation. The result is produced by applying complex rules to the argument, such as STRING.
ADD A TO B, et al (comp+)
An addition-like operation: ADD, SUBTRACT, or corresponding parts of COMPUTE.
MULTIPLY A BY B, et al (comp*)
A multiplication-like operation: MULTIPLY, DIVIDE, or corresponding parts of COMPUTE.
MOVE ARRAY (IDX) TO A (comp@)
An operation with array elements.
IF A = B ... (cond)
Comparison of data items with a symmetric relationship.
IF A * X = B ... (cond*)
Comparison of a multiple of a data item with another data item.
IF A = 1 ... (const.cond)
Comparison of a data item with a constant.
MOVE 1 TO B (const.move)
A constant moved into a data item.
ADD 1 TO B (const.move)
An arithmetic operation with constants.
03 A ... VALUE 1 (const.init)
A data item initialized by a constant.
Relationships (Inter-Program)
Select the type of inter-program relationships that you want to be included in the data flow analysis:
Calls
A parameter passed in a call to another program.
Screens
Data sent to a screen by one program and received in a screen by another.
Screen definitions
Data flow in screen fields when Screens is selected.
Files
Data communication via files. Traced only when corresponding JCL, ECL, FCT, or CSD files are verified.
Files in jobs
Data flow in JCL datasets when Files is selected.
Network records
For Unisys 2200 Cobol, data communication via network records.
Common Area Transitions
For Unisys 2200 Cobol, a common-storage data area item passed in a call to another program.
Database tables
For Unisys 2200 Cobol, data communication via Unisys DMS database records.
Processing
Select these options if you want to trace self-dependencies and/or controlled conditions.
Graph
  • Visualization - check Use curved edges if you want the connecting lines in the Data Flow Graph to have curved edges.
  • Complexity - set your preferences for a maximum "move" and "usage" node depth.
  • Colors - specify your preferences for the colors of the graph.
Program Flow Options
Use this page to configure the behavior of the program flow graph, which lets you understand the structure of a COBOL program by showing what calls are made to and from sections and paragraphs.
Program flow graph options
Merge Duplicate Links
Check this to display the multiple links between nodes as a single link.
Display fully qualified section/paragraph names.
Check this to display fully qualified section and paragraph names in the graph.
Use curved edges
Check this for Eclipse to display the lines in the program flow graph with curved edges.
Rules

Use this page to configure which rules are enabled for a rule set, and which rules and rulesets appear on the context menus. Use this page to also import new rules and rulesets.

Available code analysis rules
Use this pane to enable or disable rules within a rule set and to enable or disable rule sets.
Shown on Menu column
Select a rule or a rule set and click Show on Menu in the upper right corner to specify if it should appear on the context menu for files and projects in COBOL Explorer. Click Hide from Menu to hide rules or rule sets from the context menu.
Folder for additional rules definition files
Enables you to select a directory that includes additional rules definition files and import these into the IDE.