Page tree
Skip to end of metadata
Go to start of metadata

Summary: information about the Call Hierarchy feature introduced in CAST Imaging ≥ 2.12.

Introduction

The Call Hierarchy feature was introduced in CAST Imaging ≥ 2.12 and is similar in behaviour to the Path Finder feature. The feature enables you to view all the objects that would be affected when a hypothetical modification is carried out on a selected "source" object. Results (depending on the options chosen) display all calling or called objects of the initial chosen source object.

Accessing the feature

To access the Call Hierarchy feature, you must be working at Object level in any scope:

Right click an object in the view and select Call Hierarchy from the contextual menu - this object will then be designated the source object:

Using the feature

When the Call Hierarchy option is clicked, the following dialog box is displayed enabling you to configure how the feature will function:

≥ 2.13

2.12

Select link type

Choose either Callee or Caller to determine the type of links to other objects that will be taken into account by the Call Hierarchy feature:

  • Choosing Callee will only show other objects that are called by the source object.
  • Choosing Caller will only show other objects that are calling the source object.
Number of depths

Defines the maximum number of levels in the call graph.  By default this is set to 4 and can be changed as required. Note that changing to above 10 can impact performance - the higher the number, the more objects need to be discovered, therefore impacting performance.

Hide external objects

Use these options to filter the type of objects in the results:

  • Hide external objects > External objects are those that are considered "third-party", i.e. frameworks and libraries rather than custom source code.
  • Main objects only > This option will exclude any sub-objects, for example, those highlighted in yellow below are sub-objects and would not be displayed if the Main objects only option is ticked.

Main objects only

Results

When Find Path is clicked, the view will display the results:

Click to enlarge

  • No labels