Naming Convention Checker Options

This dialog box contains naming convention checker options. It is divided into two tabs

General

You can assign the path to the file with symbol naming rules, as well as other options related to this via Options > Naming Convention Checker Options.

Analysis for Symbols Options Symbol Names Checking tab

Report separately

If this option is checked, results are displayed in a Message Logs tab. If it is not checked, they are displayed together with static code analysis warnings.

Run after building project

When this option is checked, each time you execute Start > Rebuild Database or Start > Build Database, Symbol Names check will also automatically be carried out after symbol database build.

Terse

1. Generates a single consolidated warning if at last one, in rules defined, type regex matches the symbol type and no name regex matches the symbol name.
2. Generates a warning if no one type regex in any rule matches the symbol type.

Verbose

1. Generates a warning whenever, in rules, type regex matches the symbol type and no name regex matches the symbol name.
2. Generates a warning if no one, in rules, type regex matches the symbol type.

Debug

Additional to "Verbose"
1. Generates a info if in one rule type regex matches the symbol type and name regex matches the symbol name.
2. Generates a info that allows jumping to used rule (line) in Naming Convention rules Definition File.

Naming Convention rules definition file

This group of controls is used to select the current file with rules for Naming Convention check. You can select the path to an existing file using the Browse button. The Browse dialog is opened in the Project Root directory.

Append, in Debug Message mode, missing Rules at the end of Rules file

If this option is checked DAC generates and appends dummy rules for every unique non supported Type Regex. Dummy Rule means that all Symbols with this Type Descriptor have compliant Symbol Names. You must define more detailed Name Regex on the right side compliant with your Coding Guidelines.

^array of signed char ptLONG_BITSEL32$ = ^.*$  // Automatically added Rule
^array of signed char sINT8$ = ^.*$            // Automatically added Rule

Warnings

Analysis for Symbols Options Warnings tab

Report these warnings when enabled

If selected, warnings of a particular type generated during static code analysis will be reported in the Message Logs.


Copyright 1993-2017, RistanCASE GmbH