Prev
-
Next
-
Down
SDMetrics - the UML design measurement tool
Contents
>
8 Defining Custom Design Metrics and Rules
> 8.5 Expression Terms
8.5 Expression Terms
The entries in the metric definition file use three types of expression terms:
metric expressions, which return a number or string value, or reference a model element
set expressions, which return a set or multiset of model elements or metric values,
condition expressions, which return a Boolean value (true or false).
The following subsections describe each of these expression types in an informal manner. A formal definition is given in
Appendix E: "Project File Format Definitions"
.
8.5.1 Constants and Identifiers
8.5.2 Metric Expressions
8.5.3 Set Expressions
8.5.4 Condition Expressions
8.5.5 Expression Terms and XML
Prev
Up
Next
Section 8.4 "Definition of Relation Matrices"
Contents
Section 8.5.1 "Constants and Identifiers"