How to Get a Quick Application Overview Via Dashboard

Overview

The Dashboard provides an application overview.

Refer to Dashboard.

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 Code Analysis Manager

The Dashboard tab is provided by the Code Analysis Manager. So first you have to add a Code Analysis Manager to your project.

Step

Action

Result / Comment

1

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

-

2

Select Add Object > Code Analysis Manager from the contextual menu.

The Add Code Analysis Manager editor is displayed.

3

Click the Add button.

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

  • The Dashboard tab of the Code Analysis Manager is displayed.

Analyze Code

Step

Action

Result / Comment

1

Click the Analyze code button in the Dashboard tab.

The project is analyzed and the Metrics are displayed.

If you modify the filter on the left-hand side, the content of the dashboard is updated in real time.

Summary

Element

Description

Lines of Code Total

Total sum of code lines for the objects.

Lines of Code Average

Lines of Code Total divided by the number of objects with lines of code.

Halstead Difficulty Max

The maximum value of Halstead Difficulty.

Halstead Difficulty Average

The sum of the Halstead Difficulty values divided by the number of objects.

Displays n/a if the applied filter contains no objects with a Halstead Difficulty value.

Below the metrics, two bar charts are displayed:

  • Lines of Code Top 5

    Displays the 5 objects with the highest Lines of Code value.

  • Halstead Difficulty Top 5

    Displays the 5 objects with the highest Halstead Difficulty value.

The objects displayed in a bar chart provide additional information via tooltip.

Add Conventions

Step

Action

Result / Comment

1

To add further results, click the Add conventions button the Dashboard tab.

The project is analyzed and the Convention results are displayed.