Each time Kiuwan Code Analyzer detects a violation of any activated rule in the selected Quality Model, it generates a defect.
Kiuwan records the exact location of each defect (file and line) and, after the analysis finishes, displays the results in a table on the Defects page.
You can choose how defects are displayed, grouped by:
- Rule, or
- File
Main indicators
The Defects page includes key indicators and distribution charts, such as:
- Defect distribution by Quality Model characteristic
- Defect distribution by technology/language present in the application
- Defect distribution by priority
- Key indicators:
- # violated rules
- # defects detected
- # critical defects
- Global Indicator
Defects Table
Defects can be reviewed at different levels, including rule, application, defect, and line of code.
Each row in the defects table represents:
- A defect, and
- It's associated violated rule
Filters
You can filter the defects table using the following options:
| Name | Description |
| Search by rule name | Search by the name of the rule |
| Priority | Importance given to this rule in the Quality Model. |
| Characteristic | Quality Model characteristics has been associated with the rule. |
| Language | Technology that has breached the rule. |
| Normative | The normative that the rule comes from (CWE, PCI-DSS...) |
| Framework | Framework the defect is in. |
| Tag | Tags are given to the defect. |
| Muted | Whether the rule is muted or not. |
| Status | Whether the defect is in review or not. |
| Group by | Group by rule or file. |
Export defects
To export the defects currently shown in the table, open the drop-down menu next to the Defects title and choose an export format:
- CSV
- SARIF