How to Get Detailed Convention Results of Your Application

Overview

With the Conventions Table, you can select conventions that have to be met by your application.

Refer to Conventions Table.

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 Conventions Table

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 > Conventions Table from the contextual menu.

The Add Code Analysis Conventions Table editor is displayed.

3

Click the Add button.

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

  • The Conventions Table is displayed.

Analyze Code

Step

Action

Result / Comment

1

In the Name column, deactivate the check box All.

If the All check box is activated, analysis takes more time.

2

Activate the check box for Variable Name Checks (Complex Types).

-

3

Click the Analyze code button.

The project is analyzed and the results are displayed.

How to Use the Results

Now you can, for example, activate the check box for Variable Name (Array) to list only the respective results. Then you can review your project focusing on this convention results.

Double-clicking a table entry opens the associated application object in its corresponding editor. You can also use the Go to definition contextual menu command of a table entry.

For objects that should not appear in the Conventions Table results you can use the Add to BlockList contextual menu command of a table entry.