Root Indicators

An indicator must be specified as the root indicator for a each artefact type. The root indicator is the top-level mark displayed next to an artefact in the artefact tree.

<RootIndicator 
    indicatorId="MAINTAINABILITY" 
    artefactTypes="APPLICATION;FILE;FUNCTION" />

Note

A root indicator must be based on a derived measure, not a base measure. If the measure you want to use as an indicator is a base, add a dummy derived measure as shown below.

Before:

<Measure id="ROOT" targetArtefactTypes="TYPE" defaultValue="0" />

After:

<Measure id="ROOT" targetArtefactTypes="TYPE" defaultValue="0">
<Computation targetArtefactTypes="SOME_OTHER_TYPE" result="B.ROOT" />
</Measure>