How to Display Dependencies of Your Application with Help of Predefined Queries on Dependency View

Overview

With the Dependency View, you can visualize the dependencies of your analyzed application as a dependency graph. You can select the content and the layout of the dependency graph.

Refer to Dependency View.

Open or Create a Project

Open your preferred project or create a new project with File > New Project > From Project Template > Template Full.

Add a Dependency View

Step

Action

Result / Comment

1

Right-click the Application object in the Tools tree (or in another navigator view like the Devices tree).

-

2

Select Add Object > Dependency View from the contextual menu.

The Add Code Analysis Dependency View editor is displayed.

3

Click the Add button.

  • A Code Analysis Dependency View object is added beneath the Application object in the Tools tree.

  • The Dependency View is displayed.

Analyze Code

Step

Action

Result / Comment

1

Click the Analyze code button.

The project is analyzed.

Select Scope and Query

Step

Action

Result / Comment

1

Click the Select and Add button.

-

2

Select Scope > Project.

This reduces the number elements that are added to the dependency graph to nodes that are defined in your project only.

3

Select Query > Call Graph.

This adds the calls of your application to the dependency graph.

4

Click the Apply button.

The project is analyzed and the dependency graph is displayed.