QA Metric (Context menu)
Open the QA Metric dialog box by choosing the QA Metrics command from the context menu (right-click) on the Diagram View, Model View, or class/interface.
Button |
Description |
Load Set |
Opens a file chooser for selecting a .mts file to load a custom set of metrics. |
Save Set As |
Opens a Save dialog for specifying the name and location to save the currently-selected set of metrics as a .mts file. |
Select All |
Checks the boxes for all metrics in the dialog. |
Unselect All |
Unchecks the boxes for all metrics in the dialog. |
Set Defaults |
Resets the selected metrics to correspond to the default set (saved in the default.mts file). |
Find Metrics |
Navigates to the metric whose name starts with the specified string. |
Scope |
This field indicates the parts of the project that the QA Metrics will be run against. Use the drop-down arrow to set the Scope for either the current Selection or for the entire Model. When choosing Selection, QA Metrics are processed only for the diagram, namespace, or class that you selected before invoking the QA Metric dialog. If you choose Model, QA Metrics are processed for the entire project. Tip: If you have not selected any items in the Diagram View or Model View, the Scope option defaults to the entire project. If you want to run QA Metrics on specific classes, namespaces, or diagrams, make sure you correctly select them before you open the QA Metric dialog. |
Selection pane |
The selection pane provides a list of available QA Metrics, organized by category. Check the boxes for the QA Metrics that you want to run. Check or clear the box for a category to select or unselect all of the QA Metrics in the category. As you click on an metric in the selection pane, its corresponding description displays in the lower pane of the dialog box. The descriptions include brief explanations of what the metric looks for, examples of violations, and advice on how to correct the code. |
Options pane |
The set of options vary depending on the selected metric. Where necessary, option controls are explained in the description for the particular metric. Use the toolbar buttons to display properties in the desired manner. Other options are displayed when applicable to the selected metric. |
Button |
Description |
Categorized |
Displays the properties of the metric in expandable groups. |
Alphabetic |
Displays the properies of the metric in alphabetical order. |
Properties |
Displays property pages, if any. |
Aggregation |
Aggregation is always present; Aggregation defines how the metric results are handled. You can select the type of aggregation from the drop-down list (sum, average, maximum, and so on). It is important to note that results are aggregated on each level separately. For example, if you have nested namespaces, only the classes that belong to each namespace are aggregated. |
Button |
Description |
Start |
Runs the selected set of QA Metrics. |
Cancel |
Discards all changes and closes the dialog box. |
Help |
Opens this Help topic. |
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|