Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DTPDEVEL and version 2025.1

...

This is a legacy widget and cannot be added to Custom Dashboard Templates.  

Portfolio - Quality Status

Quality Status

Image Added

This widget shows the overall code quality status for the target build. It uses the following metrics to determine the status:

  • Number of severity 1 violations
  • Number of failed tests
  • Level of code coverage 

You can define your quality policy by configuring the thresholds for each metric. A question mark will appear if the target build does not have data for a metric.

Excerpt Include+
nopaneltrue
scrollPageId0A010204015824B6290C5A6D153D154E

Widget Configuration

You can configure the following settings.

Scroll Table Layout
widths30%,70%

TitleEnter a new title to replace the default title that appears on the dashboard.
FilterChoose Dashboard Settings to use the dashboard filter or choose a filter from the menu.
Target BuildChoose a build from the menu. Only the data for this build will appear in the widget.
Coverage ImageChoose a coverage image from the menu. This is required in order to show coverage data in the widget. See Associating Coverage Images with Filters.
Sev 1 Violations Threshold

Specify the maximum number of severity 1 violations allowed. If the number of violations reported exceeds the value in this setting, the quality status will be set to Fail.

The default threshold is 10.

Failed Tests Threshold

Specify the maximum number of test failures allowed. If the number of test failures exceeds the value in this setting, the quality status will be set to Fail.

The default threshold is 10.

Coverage Threshold

Specify the minimum percent of coverage that is acceptable. If the reported coverage is lower than the specified value, the quality status will be set to Fail.

The default threshold is 25.

Actions

Each metric opens its associated explorer view:

Custom Dashboard Properties

You can add this widget to your custom dashboards by specifying the following properties in the dashboard definition JSON file (see Custom Dashboard Templates for details): 


Code Block
languagexml
"name": "Quality_Status"
"type": "native",
"uuid": "4181248e-95fc-421c-88b1-7e6423199177"

Quality Status - Portfolio

Image AddedImage Removed

This widget provides an overview of the quality status for the filters in the specified portfolioRefer to the Configuring Portfolios section for details about configuring portfolios in DTP.

...

TitleEnter a new title to replace the default title that appears on the dashboard.
PortfolioChoose the name of the portfolio from the menu. See Configuring Portfolios for additional information.
Build

Enter a build ID to use across all filters. If no build ID is specified, the latest build is used by default.

Refer to Build Administration for additional information about build IDs.

Show Build Column

Choose Yes from the menu to include the Build column in the widget. The Build column shows the build ID specified in the Build field.

Choose No to hide the Build column. If the Build column is not included, you can view the build ID by hovering your pointer over a filter in the Filter column.

Refer to Build Administration for additional information about build IDs.

Show Violations Column

Choose Yes from the menu to include the Sev 1 Violations column in the widget. The Sev 1 Violations column shows how many severity 1 violations have occurred.

Choose No to hide the Sev 1 Violations column. The Sev 1 Violations Threshold setting, described below, will still apply if the column is hidden.

Sev 1 Violations Threshold

Specify the maximum number of severity 1 violations allowed. If the number of violations reported exceeds the value in this setting, the quality status will be set to Fail.

The default threshold is 10.

Show Tests Column

Choose Yes from the menu to include the Failed Tests column in the widget. The Failed Tests column shows how many test failures have occurred.

Choose No to hide the Failed Tests column. The Failed Tests Threshold setting, described below, will still apply if the column is hidden.

Failed Tests Threshold

Specify the maximum number of test failures allowed. If the number of test failures exceeds the value in this setting, the quality status will be set to Fail.

The default threshold is 10.

Show Coverage Column

Choose Yes from the menu to include the Coverage column in the widget. The Coverage column shows code coverage as a percentage.

Choose No to hide the Coverage column. The Coverage Threshold setting, described below, will still apply if the column is hidden.

Coverage Threshold

Specify the minimum percent of coverage that is acceptable. If the reported coverage is lower than the specified value, the quality status will be set to Fail.

The default threshold is 25.

Width

The DTP dashboard is a six-column wide grid that can have an unlimited number of rows. Specify how many columns the widget should span. Default is 3.

Also seeAbout the Dashboard Grid.

Height

The DTP dashboard is a six-column wide grid that can have an unlimited number of rows. Specify how many rows the widget should span. Default is 2.

Also seeAbout the Dashboard Grid.

Actions

You can interact with the widget in the following ways:

  • Click on a column header to sort the data. 
  • Click on a link in the Build column to view the Build Audit Report.

Custom Dashboard Properties

You can add this widget to your custom dashboards by specifying the following properties in the dashboard definition JSON file (see Custom Dashboard Templates for details): 

Code Block
languagexml
"name": "Portfolio.Quality_Status"
"type": "native",
"uuid": "12c53f03-1ff6-4072-ba9f-ca7586cb1e31"

Quality Status

Image Removed

This widget shows the overall code quality status for the target build. It uses the following metrics to determine the status:

  • Number of severity 1 violations
  • Number of failed tests
  • Level of code coverage 

You can define your quality policy by configuring the thresholds for each metric. A question mark will appear if the target build does not have data for a metric.

Excerpt Include+
nopaneltrue
scrollPageId0A010204015824B6290C5A6D153D154E

Widget Configuration

You can configure the following settings.

Scroll Table Layout
widths30%,70%

...

Specify the maximum number of severity 1 violations allowed. If the number of violations reported exceeds the value in this setting, the quality status will be set to Fail.

The default threshold is 10.

...

Specify the maximum number of test failures allowed. If the number of test failures exceeds the value in this setting, the quality status will be set to Fail.

The default threshold is 10.

...

Specify the minimum percent of coverage that is acceptable. If the reported coverage is lower than the specified value, the quality status will be set to Fail.

The default threshold is 25.

Actions

Each metric opens its associated explorer view:

Custom Dashboard Properties

You can add this widget to your custom dashboards by specifying the following properties in the dashboard definition JSON file (see Custom Dashboard Templates for details): 

...

languagexml

...

"