You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

 

Each time that Kiuwan code analyzer detects a violation of any of the activated rules of the quality model, it generates a "defect".
Kiuwan "marks" the exact location (file/line) in which these defects occur and, at the conclusion of the analysis, show them in table form in the "Application -> Defects" screen.

You can choose how Kiuwan shows the defects, grouped either by rule or by file. Where it shows:

Main indicators

  • Defect distribution graphic, by categories in the software Quality Model.
  • Defect distribution graphic, for each of the technologies present in the application.
  • Defect distribution graphic, by priority.
  • Key defects indicators: # Defects detected, # Critical defects, # violated rules and main Quality Index.

 

Defects Table

You can see the defects at rule, application, defect and line of code level, so the defects will be easier for you to find.

The defects table with each row showing the rules that were violated and the following information is displayed in its columns:

  • Files: number of files in which rule violations were detected.
  • Defects: number of times it has detected a violation of the rule in all scanned files.
  • Rule: title of the rule —the details of the rule can be seen in the "Quality Models" functionality, in the Kiuwan Administration Menu—.
  • Priority: the importance given in the Quality Model to this rule.
  • Characteristic: one of the five Quality Model characteristics, which has been associated with the rule.
  • Language: technology that has breached the rule.
  • Effort: estimated effort that an average developer would spend to correct a detected failure. This time is the result of multiplying the estimated effort to correct one violation by the number displayed in "Defects".

The content of the Defects table can be exported to an excel table, with the option in the header line where is located the "bread crumb".
The content of the Defects table can be sorted by any column, and the four columns on the right have the ability to "filter" the contents of the table.
Clicking on any of the fields of a table row, Kiuwan shows one row for each occurrence of the violation of this rule, indicating the row in the file where it is detected.

Duplicated code defects

For each language, Kiuwan has three rules that detect similar —duplicate— code blocks:

  • A rule for small blocks,
  • another for medium ones, and
  • another for large blocks.

The following screen shows an example of violation of these rules:

Defects list

In xsl format.
This is a list in excel format, containing all violations found, with violated rule data and the file and line where it occurs.

  • No labels