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:
This widget shows the five rule categories with the most violations for the selected project.
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.
Use the following properties when adding this widget to a custom dashboard:
"name": "Categories - Top 5 Table", "type": "legacy", "id": "XViolationsByCategory" |
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. |
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.
Use the following properties when adding this widget to a custom dashboard:
"name": "Compliance by Category", "type": "legacy", "id": "XRulesInComplianceByRuleGroup" |
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. |
This widget shows the number of rules in compliance grouped by rule category and broken down by severity.
Click on a rule category to view the Violations by Rule report for the category. See Violations by Rule Drill-down.
Use the following properties when adding this widget to a custom dashboard:
"name": "Compliance by Category/Severity", "type": "legacy", "id": "XComplianceByRuleGroupAndSeverity" |
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. |
This widget shows compliance with MISRA C 2012 rules and directives grouped by category and broken down by severity.
Click on a rule category to view the Violations by Rule report for the category. See Violations by Rule Drill-down.
Use the following properties when adding this widget to a custom dashboard:
"name": "MISRA C 2012 - Compliance", "type": "legacy", "id": "MISRACompliance" |
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. |
This widget shows number and percentage of OWASP Top 10 rules in compliance grouped by rule category and severity.
Click on a rule category to view the Violations by Rule report for the category. See Violations by Rule Drill-down..
Use the following properties when adding this widget to a custom dashboard:
"name": "OWASP Top 10 - Compliance", "type": "legacy", "id": "OWASPCompliance" |
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. |
This widget shows the five rules with the most violations for a project.
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.
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" |
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. |
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.
Click on a category in the widget to open the Violations by Rule Category report. See Violations by Rule Category Report.
Use the following properties when adding this widget to a custom dashboard:
"name": "Rules in Compliance", "type": "legacy", "id": "XRulesInCompliance" |
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. |