Analysis Models
Analysis Models define how metrics data is computed and aggregated. You can browse and analyse models through the Models > Viewer menu in the Squore web interface.
Analysis Models define building blocks organised in a hierarchical structure. The following blocks can be used:
-
Artifact Types, which define the types of artifacts that can be created in the Artifact Tree.
-
Measures, which define the metrics, both base and derived, that are used and computed in the analysis model.
-
Rules, which are similar to measures, except they represent a trigger: the rule is either respected or violated. They are associated to practices, and the number of violations for a single rule shows how the practice is applied in the development process.
-
Scales, which define how the measures are expressed (units, ranges).
-
Indicators, which associate a measure with a scale. They provide a human-readable format for the measures expressed.
-
Constants, which define fixed values used in computations.
-
Links, which define connections between artifacts.
Blocks can refer to each others, for example computations use measures and rules. The syntax used for computations is documented in Expressions Syntax.