Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
{
    "id": 104,
    "plugin": "QualityIndicatorResult",
    "color": "yellow",
    "parameters": {
    "title": "Robustness",
    "widget": "gauge",
    "qualityIndicator": {
        "id": "ROBUSTNESS",
        "format": "0.00"
    }
    }
},

Example for a

...

riskGauge at top level in app.json or cmp.json

No Format
"QualityIndicatorResults" :
{
"ranges":[1.6,2.8,3.0,3.4],
"riskGauge":
	{
	"colors":["#02eff4", "#ff4b02", "#02eff4", "#7fc4b2"]
	}
},

...

At portfolio (cmp.json) and application level (app.json), it is possible to define tiles with custom expressions. A custom expression is defined through a mathematical subset representation involving operations on criteria values (e.g. the ratio of number of lines of codes per critical violations or the count of applications with more than n files).

The tile can represent averaged values (excluding the application not having one of the values such as a background fact or some sizing measure, or those whose function calculation result is infinite) or a total value. For comparison, business criteria scores are average while sizing is usually a total on the portfolio. 

Custom expression tiles can be defined for the current snapshot state (most recent snapshot for all applications at portfolio level or selected snapshots at application level), or via evolutions. 

The mathematical formula available involve the following expression patterns:

...

Functions

...

 

...

Other classic patterns are available but may not be supported by the Health Dashboard in terms of rendering (i.e. those returning non numerical values such as booleans).

...