In this section:
The Static Analysis Hotspot slice determines which code analysis violations stem from the same flow trace source and reports the sources as “hotspots”. By default, a flow trace source is considered a hotspot when it results in at least five (5) violations, but you can configure the threshold in the widgets shipped with the slice.
The Static Analysis Hotspot slice is installed as part of the Process Intelligence Pack. See the Process Intelligence Pack Installation instructions for details. After installing the slice, deploy the widgets and report to your DTP environment.
After deploying the artifact, the Violations from Hotspot - Percentage and Violation Hotspots - Pie widgets will be available in DTP under the Process Intelligence category. See Adding Widgets for instructions on adding widgets to the dashboard.
This widget shows the percentage of violations in the selected build that stem from hotspots. It also shows the number of hotspot-related violations and the total number of violations in the build.
Click on the widget to view the hotspot in the Violation Hotspots Report.
You can configure the following settings:
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 drop-down menu (see Creating and Managing Filters for more information about filters in DTP). |
Target Build | Choose the build containing the data you want to see. Default is Latest Build . |
Hotspot Threshold | Specify the number of violations resulting from the same trace source for the source to be considered a hotspot. Default is 5 . |
This widget shows the number of violations resulting from each hotspot in the build.
Each segment in the widget represents a hotspot. You can hover your pointer over a segment to view the hotspot's file name and line number, as well as the number of violations resulting from the hotspot.
Click on a segment to view the hotspot in the Violation Hotspots Report.
You can configure the following settings:
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 drop-down menu (see Creating and Managing Filters for more information about filters in DTP). |
Target Build | Choose the build containing the data you want to see. Default is Latest Build . |
Hotspot Threshold | Specify the number of violations resulting from the same trace source for the source to be considered a hotspot. Default is 5 . |
The Violation Hotspots Report provides details about the hotspots detected in the build.
Each row represents a hotspot and shows the following information:
10
4
1
0
Expand a hotspot row to view the following information: