...
Jenkins Cobertura Coverage - Percent
Excerpt Include+ | ||||||||
---|---|---|---|---|---|---|---|---|
|
This widget shows the percentage of code covered, number of lines of code covered, and total number of lines for the specified job as reported by the Cobertura plug-in for Jenkins. The Jenkins API must return English for the widget to function properly.
Widget Configuration
Scroll Table Layout | ||
---|---|---|
|
Excerpt Include+ | ||||||||
---|---|---|---|---|---|---|---|---|
|
Widget Configuration
Scroll Table Layout | ||
---|---|---|
|
Title | Title | Enter a new title to replace the default title that appears on the dashboard. |
---|---|---|
Jenkins Server | Enter the URL of the Jenkins server, including the protocol (HTTP, HTTPS) and port. This field is required. | |
Jenkins Job | Enter the name of the job. This field is required. | |
Jenkins User | (Optional) Specify a username to access the Jenkins server. The user must have access to the project. If you do not provide a specific user login, the Jenkins server must allow anonymous read access for the Jenkins-based widgets to function properly. | |
Jenkins Auth | (Optional) Specify a password for the user to access the Jenkins server. The user must have access to the project. If you do not provide a specific user login, the Jenkins server must allow anonymous read access for the Jenkins-based widgets to function properly. |
...
This widget shows the code coverage information for the specified job reported by the Cobertura plug-in for Jenkins. It includes the number of lines of code, total lines of code, and build ID of the last run. The Jenkins API must return English for the widget to function properly.
Excerpt Include+ | ||||
---|---|---|---|---|
|
Widget Configuration
Scroll Table Layout | ||
---|---|---|
|
...
The artifact is implemented as a widget that reports the coverage percentage for the lines of code that have been changed since a baseline build. It also graphically indicates the coverage achieved on each new or modified line of code.
Excerpt Include+ | ||||
---|---|---|---|---|
|
Note | ||
---|---|---|
| ||
If you are upgrading from a version of DTP prior to 2022.1 and were using the Modified Coverage widget from the Process Intelligence Pack, you will need to manually delete the old widget from your installation. To do so, delete the following file: |
...
Red and green are used to highlight testable code that was changed between the baseline build and the target build. Green indicates that at least one test case covered the code. Red indicates that no test cases covered the code.
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 |
---|
"name": "modified_code_coverage",
"type": "native",
"uuid": "eeba8492-f110-4046-af7e-063cbcdf033f" |
Portfolio - Coverage Statistics
This widget shows the coverage statistics for the filters in the specified portfolio. Refer to the Configuring Portfolios section for details about configuring portfolios in DTP.
The widget shows the coverage percentage, lines covered, and total lines.
If you are a member of a project associated with a filter in the portfolio, you will see an entry in the widget for that filter. See Adding Teams to Projects for additional information about team membership or Permissions for information about built-in user permissions in DTP.
Excerpt Include+ scrollEditorUrl /display/DTPDEVEL/.Build+Results+Widgets+v2020.1 scrollEditorDisplayTitle Build Results Widgets nopanel true scrollPageId 0A010204015824B6290C5A6D153D154E
Widget Configuration
Scroll Table Layout | ||
---|---|---|
|
Title | Enter a new title to replace the default title that appears on the dashboard. |
---|---|
Portfolio | Choose 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. |
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 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 Also seeAbout the Dashboard Grid. |
Actions
Click on a link to open the Coverage Explorer view for that result.
Click on a column header to sort the data.
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 |
---|
"name": "modified_code_coverageportfolio.coverage_statistics", "type": "native", "uuidid": "eeba84924cf20b98-f110c246-40464f5e-af7e8813-063cbcdf033f72cbaa3f1f50" |
Resource Groups - Top 10 Tree Map
...
A resource group is a collection of resources (files and/or folders) defined by a set of one or more Ant file patterns. See Adding Resource Groups to Projects for additional information about resource groups.
Excerpt Include+ | ||||
---|---|---|---|---|
|
Widget Configuration
Scroll Table Layout | ||
---|---|---|
|
Title | Enter a new title to replace the default title that appears on the dashboard. |
---|---|
Filter | Choose Dashboard Settings to use the dashboard filter or choose a filter from the menu. |
Period | Choose Dashboard Settings to use the dashboard date range or choose a period from the menu. |
Coverage Image | Choose a coverage image from the menu to show coverage data in the widget. See Associating Coverage Images with Filters. |
Target Build | Choose a build from the menu that contains the data you want to see. |
Actions
Mouse over a tile to view the name of the resource group and coverage. Click on a tile view coverage information about the resource group in the Coverage Explorer.
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):
...
This widget shows the five resource groups with the highest percentage of coverage. The widget renders a table that you can sort in ascending or descending order in the settings.
Excerpt Include+ | ||||
---|---|---|---|---|
|
Widget Configuration
Title | Enter a new title to replace the default title that appears on the dashboard. |
---|---|
Filter | Choose Dashboard Settings to use the dashboard filter or choose a filter from the menu. |
Period | Choose Dashboard Settings to use the dashboard date range or choose a period from the menu. |
Target Build | Choose a build from the menu that contains the data you want to see. |
Sort By | Choose an order in which to present the data from the menu. |
Coverage Image | Choose a coverage image from the menu to show coverage data in the widget. See Associating Coverage Images with Filters. |
Actions
Click on a resource group name to view coverage information about the resource group in the Coverage Explorer.
Click on the more... link to view the Resource Groups 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):
...
Refer to the C/C++test Professional and C/C++test NextGen documentation for additional information about coverage types and how to collect coverage.
Excerpt Include+ | ||||
---|---|---|---|---|
|
Widget Configuration
Title | Enter a new title to replace the default title that appears on the dashboard. |
---|---|
Filter | Choose Dashboard Settings to use the dashboard filter or choose a filter from the menu. |
Coverage Type | Choose a coverage type from the menu to show coverage data in the widget. Refer to the C/C++test Professional documentation for additional information about coverage types. |
Run Configuration | Choose a run configuration from the selected filter for which the coverage data will be presented. Run configurations are designated by session tag and test configuration name. See Run Configuration for additional information. |
Target Build | Choose a build containing coverage data from the menu. |
Actions
Click on the widget to open the C/C++test coverage report. Refer to the C/C++test Professional and C/C++test NextGen documentation for additional information about reports.
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):
...
Refer to the C/C++test Professional and C/C++test NextGen documentation for additional information about coverage types and how to collect coverage.
Excerpt Include+ | ||||
---|---|---|---|---|
|
Widget Configuration
Title | Enter a new title to replace the default title that appears on the dashboard. |
---|---|
Coverage Type | Choose a coverage type from the menu. to show coverage data in the widget. Refer to the C/C++test Professional documentation for additional information about coverage types. |
Filter | Choose Dashboard Settings to use the dashboard filter or choose a filter from the menu. |
Period | Choose Dashboard Settings to use the dashboard date range or choose a period from the menu. |
Run Configuration | Choose a run configuration from the selected filter for which the coverage data will be presented. Run configurations are designated by session tag and test configuration name. See Run Configuration for additional information. |
Actions
They x-axis represents the builds in the specified period. You can hover your pointer over an area of the widget aligned to a build to view the build ID name and precise coverage for the build.
...
Click on a link in the Build column of the Coverage Trend dialog to open the C/C++test coverage report. If you are using C/C++test NextGen, the "Covered" column as shown in the example above will be "Covererd (+Suppressed)." Refer to the C/C++test Professional and C/C++test NextGen documentation for additional information about reports.
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):
...