The widgets in this category return static analysis results from Parasoft DTP Engines, which include the execution engines for C and C++, Java, and .NET. Additionally, multiple occurrences of a violation detected and reported by Parasoft DTP Engines are recognized as the same violation throughout the development lifecycle. If the same violation is discovered multiple times, it is recognized as the same violation and displayed in a Compliance widget as such.
In this chapter:
Categories - Top 5 Table
This widget shows the five rule categories with the most violations for the selected project.
Actions
Click on a category in the widget to open the Violations by Rule report. See Violations by Rule Drill-down.
Click more... to open the Violations by Category report. See Violations by Rule Category Report.
Custom Dashboard Properties
Use the following properties when adding this widget to a custom dashboard:
"name": "Categories - Top 5 Table", "type": "legacy", "id": "XViolationsByCategory"
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. |
Rule Categories | Choose a rule set to from the drop-down menu. Rule sets contain several violation categories. DTP ships with rule sets for MISRA C:2012 and OWASP Top 10 compliance, as well as Parasoft’s Metrics analysis and Recommended Rules. |
Compliance By Category
This widget shows the number and percentage of rules in compliance grouped by rule category. The widget is color coded to provide an at-a-glance overview of compliance status:
Green: At least 90% compliant |
Yellow: 70% - 89% compliant |
Red: Less than 70% compliant |
Actions
Click on a compliance status category bar to view the Violations by Rule report for the category. See Violations by Rule Drill-down.
Custom Dashboard Properties
Use the following properties when adding this widget to a custom dashboard:
"name": "Compliance by Category", "type": "legacy", "id": "XRulesInComplianceByRuleGroup"
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. |
Rule Categories | Choose a rule set to from the drop-down menu. Rule sets contain several violation categories. DTP ships with rule sets for MISRA C:2012 and OWASP Top 10 compliance, as well as Parasoft’s Metrics analysis and Recommended Rules. |
Compliance by Category/Severity
This widget shows the number of rules in compliance grouped by rule category and broken down by severity.
Actions
Click on a rule category to view the Violations by Rule report for the category. See Violations by Rule Drill-down.
Custom Dashboard Properties
Use the following properties when adding this widget to a custom dashboard:
"name": "Compliance by Category/Severity", "type": "legacy", "id": "XComplianceByRuleGroupAndSeverity"
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. |
Rule Categories | Choose a rule set to from the drop-down menu. Rule sets contain several violation categories. DTP ships with rule sets for MISRA C:2012 and OWASP Top 10 compliance, as well as Parasoft’s Metrics analysis and Recommended Rules. |
MISRA C 2012 Compliance
This widget shows compliance with MISRA C 2012 rules and directives grouped by category and broken down by severity.
Actions
Click on a rule category to view the Violations by Rule report for the category. See Violations by Rule Drill-down.
Custom Dashboard Properties
Use the following properties when adding this widget to a custom dashboard:
"name": "MISRA C 2012 - Compliance", "type": "legacy", "id": "MISRACompliance"
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. |
Rule Categories | Choose a rule set to from the drop-down menu. Rule sets contain several violation categories. DTP ships with rule sets for MISRA C:2012 and OWASP Top 10 compliance, as well as Parasoft’s Metrics analysis and Recommended Rules. |
OWASP Top 10 - Compliance
This widget shows number and percentage of OWASP Top 10 rules in compliance grouped by rule category and severity.
Actions
Click on a rule category to view the Violations by Rule report for the category. See Violations by Rule Drill-down..
Custom Dashboard Properties
Use the following properties when adding this widget to a custom dashboard:
"name": "OWASP Top 10 - Compliance", "type": "legacy", "id": "OWASPCompliance"
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. |
Period | Choose Dashboard Settings to use the dashboard date range or choose a period from the drop-down menu. |
Rules - Top 5 Table
This widget shows the five rules with the most violations for a project.
Actions
Click on a rule ID in the widget to open the Violations Explorer filtered by the selected rule. See Violations Explorer.
Click on the information icon open the rule documentation. For additional information, see the rule documentation for the tool (e.g. C++test, Jtest, dotTEST, SOAtest) integrated with your DTP installation.
Click more... to open the Violations by Rule report. See Violations by Rule Drill-down.
Custom Dashboard Properties
Use the following properties when adding this widget to a custom dashboard:
"name": "Rules - Top 5 Table", "type": "native", "id": "21238e2a-645c-4af9-a6ae-e7ee386ef0b3"
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. |
Rule Categories | Choose a rule set to from the drop-down menu. Rule sets contain several violation categories. DTP ships with rule sets for MISRA C:2012 and OWASP Top 10 compliance, as well as Parasoft’s Metrics analysis and Recommended Rules. |
Rules in Compliance
This widget shows the percentage of rules in compliance, as well as the change in compliance for the period set in the historical filter. For 100% compliance, the code must not violate any of the static analysis rules used in the project.
Actions
Click on a category in the widget to open the Violations by Rule Category report. See Violations by Rule Category Report.
Custom Dashboard Properties
Use the following properties when adding this widget to a custom dashboard:
"name": "Rules in Compliance", "type": "legacy", "id": "XRulesInCompliance"
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. |
Rule Categories | Choose a rule set to from the drop-down menu. Rule sets contain several violation categories. DTP ships with rule sets for MISRA C:2012 and OWASP Top 10 compliance, as well as Parasoft’s Metrics analysis and Recommended Rules. |