Page tree

Versions Compared

Key

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

...

Info

Note that:

  • when using this tile in the cmp.json file, please use CriticalQualityRulesRatios
  • when using this tile in the app.json file, please use CriticalQualityRuleRatio

Image Modified

This tile shows the the top 5 critical rules at  at Application or multi-Application level, together with:

  • Checked column: the number of times the rule has been checked - i.e. the number of objects checked by the Quality Rule
  • Failed (

...

  • %) or Failed (#) column: the percentage or number of checks that have failed - i.e. percentage or number of objects checked by the Quality Rule that

...

  • violate the Quality Rule

...

Configuration:

  1. type: Describe the type of notifications - set to topRules topRules
  2. count: the number of lines displayed. 5 is the optimized size for the height of the tile
  3. order: the ordering of the data Quality Rules represented in the tile. This can be be descending or  or ascending, and is based on the the number of failed checks
  4. format: the format of the compliance value: it uses the the format defined in in numeral.js    (see see http://numeraljs.com/ for  for available Numbers formats)
  5.  

    mode:

    when this option is set to "ratio" i.e. it displays (in the Compliance column)

    two options are possible:

    • ratio”: a Failed (%) column will display a percentage of the checks that have
    been successful
    • failed - i.e. percentage of objects checked by the Quality Rule that
    do not
    • violate the Quality Rule.
    If you omit this option or set it to anything other than "ratio", then the Compliance column simply displays
    • number”: a Failed (#) column will display the number of the checks that have
    been successful
    • failed - i.e. the number of objects checked by the Quality Rule that
    do not
    • violate the Quality Rule.
     
  6. loadLimit: Compared to other tiles, this tile tends to involve large amount of data when the application scope increases, hence can quickly prove to be performance inefficient; the loadLimit option  loadLimit option defines a limit for the number of applications: when there are less Applications than the loadLimit value, then the contents of the tile will be loaded. When there are more Applications than the loadLimit value, then the contents of the tile will not be loaded and a message will state this.

Example (for cmp.json):

No Format
            {
                "id": 14,
                "plugin": "CriticalQualityRulesRatios",
                "size":"large",
                "color": "grey-dark",
                "parameters": {
                    "loadLimit": 60,
                    "title": "Top 5 critical rules",
                    "count": 5,
                    "order": "descending",
                    "format": "0,000",
                    "mode": "ratio"
                }
            }

...

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 CAST Application Analytics Dashboard in terms of rendering (i.e. those returning non numerical values such as booleans).

...