Hiding Specific Measures

If it does not makes sense to display a specific measure in the Indicator Tree or the Model Viewer, you can hide it by editing the Properties bundle of a model. This is useful to remove confusion about how a measure is computed.

In order to hide a measure:

  1. Edit the model's Properties/Bundle.xml.

  2. Add a <hideMeasure targetArtefactTypes="" path="" > element.

  3. Fill in the artefact types for which this measure is hidden (this is optional).

  4. Specify the complete path of the measure to be hidden.

Below is an example of two hidden paths. The first one is only hidden at application level. The second one is always hidden.

configuration/models/[ModelFolder]/Properties/Bundle.xml:

<bundle>
  <!-- Hidden measures -->
  <hideMeasure targetArtefactTypes="APPLICATION" path="I.MAINTAINABILITY/I.ANALYSABILITY/I.FUANA_IDX" />
  <hideMeasure path="I.MAINTAINABILITY/I.CHANGEABILITY/I.ROKR_CHAN/D.RKO_CHAN" />
</bundle>

Note that you should always use the precise notation path elements, with the I., B. or D. to avoid ambiguities.