Metrics Table

Overview

With the Metrics Table, you can select metrics to be executed on an application and filter and list results.

The Metrics Table provides two parts:

Metrics

The Metrics tree lists metrics that are available by default (by EcoStruxure Machine Expert installation) and the user-defined metrics created with the Query editor. Use the check boxes to activate/deactivate metrics.

After clicking the Enable and start querying button of the Results window toolbar, additional information is displayed in the Metrics tree:

Element

Description

Filter by metric names

Enter text to filter the metrics by name.

Rule Set

Select a rule set for filtering the metrics to display.

(<Number>) behind a metric name

Indicates how many hits this metric created. If no number is displayed, this query was not executed.

(Querying...) behind a metric name

This query is being executed.

Toolbar

Element

Description

Analyze Code

Click this button to start the analysis process of the application this Metrics Table belongs to. If analysis has already been started and state of analysis is up-to-date, this button is disabled.

Querying

  • Enable and start querying button:

    Click this button to start querying.

  • Disable and pause querying button:

    Click this button to pause querying. Click the button again to restart querying from the point you stopped querying.

Export

Click this button to export the displayed list as a CSV, HTML, or XML file.

Scope

Displays the folder of which the Metrics Table is a part. Only this folder is taken into account for analysis. For a table that is a subnode of the Code Analysis Manger the whole application is taken into account for analysis. Only visible if a Metrics Table is placed in a folder.

Result List

Element

Description

Filter by ...

Enter text to filter the results. The filter applies to all columns.

Sort a column

To sort a column, click the column header:

  • Type

  • Name

  • FullName

  • <Metric Name>

Double-click a table entry

Opens the associated element in its corresponding editor.

Contextual Menu Commands on a table entry

Right-click a table entry and select one of the contextual menu commands:

  • Go to definition

    Opens the associated element in its corresponding editor.

  • Add to dependency graph

    Adds the element to an existing or new dependency graph.

  • Add to block list

    Adds the element to a block list and removes that element form all Metrics Tables until it is deleted from block list again.