The Data Flow tree displays in a new tabbed view in the IDE. Multiple trees views can be open for the same program but only one can be open for a data item. If you try to run Data Flow Analysis for a data item which is already in the root of the tree, it will be shown in the current tree. If you select a different occurrence of the data item, it will be added as a new tree. In addition, if you make changes to the source code, the currently visible trees will be marked as outdated. Requesting the data item again will create a new tree.
The following list shows some of the different operations that you can perform from the Data Flow Analysis view:
to expand the nodes of the tree and drill down to the next level.
button to switch between backward and forward data flow. Forward data flow analysis shows all possible source code locations which
will be affected if the selected data item is changed at a specified location. Backward data flow analysis shows where the
selected data item came from and source locations that could have changed the value of the data item. Changing analysis direction
will reset the tree to show only the top level of data item nodes.
.
to make additional Data Flow settings such as
colors and
types of inter-program and intra-program relationships to be displayed. The changed settings will apply only to future code
analysis requests.
to remove the selected results.
to remove the outdated results.
to remove all results.