...
No Format |
---|
{ "id": 5, "plugin": "QualityIndicatorResults", "color": "yellow", "parameters": { "title": "Robustness", "qualityIndicator": {"id": "ROBUSTNESS", "format": "0.00"}, "details":{ "ranges":[1.6,2.8,3.0,3.4] }, "widget": "gauge" } }, |
Technical Size Measures
Info |
---|
Only available in app.json. |
Technical Size Measures govern the configurable display of Technical Size indicators (Number of Critical Violations, Number of Code Lines, Number of Files etc.) for the drill down page available at Application level for the Technical Size tile (click to enlarge):
Each of these indicators can be configured via the app.json file under the TechnicalSizeMeasures section:
No Format |
---|
"TechnicalSizeMeasures": {
"values": [
{
"id": 67011,
"label": "Number of Critical Violations"
},
{
"id": 10151,
"label": "Number of Lines of Code"
},
{
"id": 10154,
"label": "Number of Files"
},
{
"id": 10155,
"label": "Number of Classes"
},
{
"id": 10156,
"label": "Number of Programs"
},
..... |
Available parameters in .json
...
Each of these indicators can be configured via the app.json file under the TechnicalSizeMeasures section:
Parameter | Description |
---|---|
id | Represents the ID of the Technical Size indicator as defined in the CAST Assessment Model. |
label | A text field used to display the name of the Technical Size indicator in the drill down page (click to enlarge): |
for example:
No Format |
---|
"TechnicalSizeMeasures": { "values": [ { "id": 67011, "label": "Number of Critical Violations" }, { "id": 10151, "label": "Number of Lines of Code" }, { "id": 10154, "label": "Number of Files" }, { "id": 10155, "label": "Number of Classes" }, { "id": 10156, "label": "Number of Programs" }, ..... |
...
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
...
...
...