Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For every delivery analysis, Kiuwan provide a full Audit Report with all this useful information.  

Image Added
 
Image Removed  

Audit Checkpoints

Kiuwan Audits are based on Checkpoints.
A checkpoint is a specific (atomic) condition to be met by the analysis. An Audit may contain as many checkpoints as validations you want to check.
Every checkpoint has two possible results:

...

To access Audit Management module, select "Audits Management" option from the configuration drop down menu.

Image Added  
Image Removed
 
Icon

Only users with "Manage audits" privilege will be allowed to access Audit module.
 
You will go directly to the audit summary page for the default selected Audit.

Image Added
 
Image Removed
 
Kiuwan comes with an off-the-shelf Default audit. This audit cannot be modified by end users but can be used in any application. In fact this is the Audit assigned to any new application in Kiuwan by default.
Default audit comes under Shared Audits section in left panel.  Any user-defined audit will be under My audits.
Clicking on any audit name will allow you to view/manage it.

...

To create a new Audit, click on New link at the end of the Audits list in the left side panel. 

Image RemovedImage Added


 
You have provide a Name and an optional Description.
Approval Threshold  represents the minimum percentage of checkpoints contribution to consider the Audit as OK. After audit execution, this value is used to evaluate if the audit passes or not. Please see Audit evaluation logic above to know how this value is used in audit evaluation.
Click Create Audit to save the new audit and have it available under My audits

Image Added
 
Image Removed
 
Every Audit needs to have at least 1 Checkpoint. Therefore, once you create an audit, the next natural step is to create checkpoints.

...

For any selected Audit, the Checkpoints tab will show all the defined checkpoints in a table.

Image Added
 
Image Removed
 
To facilitate working with checkpoints when you have many,  you can filter them by Name, Type or Mandatory status; in the filter panel above the table.
Clicking on the checkpoint Name you can modify the checkpoint details and definition.
In this page, you can also directly modify the weights of the checkpoints. By introducing integers in the Weight text box, Kiuwan will automatically calculate the contribution percentage of every checkpoint in the audit.  This way, you can easily fine tune checkpoint contributions without editing every individual checkpoint.
Similarly, you can also make each checkpoint Mandatory or Optional with the Mandatory checkbox directly in the checkpoint list.
The Add Report Section  button, allows you to create sections to group checkpoints. When exporting the audit results to a PDF report, these sections are used to group audit results as well. You can define the order of sections and checkpoints using the arrows in the first column of the checkpoints table.TO move checkpoints across sections just use the arrows in the checkpoint until you place it in the section you want. The order defined here is used just to display results, it doesn't affect the Audit evaluation logic explained above.

...

To create a new checkpoint, click the Add checkpoint button.

Image Added
 
Image Removed
 
To create a checkpoint you should provide Name and Description.
Weight represents the relative weight of this checkpoint in the Audit.
Every checkpoint has an associated Weight that represents the relative weight of the checkpoint in the Audit. The weights you specify (integer values) will translate (automatically) into a percentage contribution to the overall Audit. Please see Audit evaluation logic to fully understand how this value is used in audit result calculation.
Mandatory checkbox indicates if the checkpoint is Mandatory (checked) or Optional (unchecked).
Maximum threshold indicates the maximun number defects that are allowed. When audit is executed, if the number of defects is higher than this value, the checkpoint will FAIL.
Type combo allows to select between the available checkpoint types. Please see Checkpoint Types for an explanation.

Image Added
 
Image Removed

 
Available checkpoint types:

  • Threshold for total maximum number of defects of specific types

Sets a maximum number of defects allowed in the application for the specific defect types selected

  • Threshold for maximum new defects of specific types

Sets a maximum number of new defects allowed in the application for the specific defect types selected

  • Threshold for total maximum number of defects

Sets a maximum number of defects allowed in the application for the defined languages, categories and priorities

  • Threshold for maximum new defects

Sets a maximum number of new defects allowed in the application for the defined languages, categories and priorities

  • Global indicator improvement

Checks if the Global indicator improves the baseline Global indicator

  • Global indicator threshold

Checks if the Global indicator is above the defined threshold


 
Depending on the selected checkpoint type, you wiil be able to specify that only defects of selected languages, characteristics and priorities will be taken into account when evaluating the checkpoint.
 

 
In this example, the checkpoint evaluation will only compare with the threshold those defects of Very High priority belonging to Maintainability or Security in Java or Cobol source files.
 
In case you prefer that only defects of certain types be considered, click on Search defect types  and select the desired rules by searching the Kiuwan rules repository.

Image Added
 
Image Removed

 
After selecting the rules, the checkpoint will check only defects of those types.
 

...

Once you have created the audit and its checkpoints, to associate that audit to an application you should open the Applications management module, select the Application and open the dropdown menu.

Image Added
 
Image Removed

 
Selecting Audit option will open a form where you can select available audits.

Image Added
 
Image Removed

Selecting an audit will associate that audit to the application, i.e. every delivery analysis on that application will run the audit.
Icon
Do not forget to Publish the audit to make it available for use.

...

Deliveries module displays a full listing of deliveries.

Image Added
 
Image Removed
 
The Status column shows the results of the audit as well as the overall compliance of the analysis with the defined audit (Score column).
Clicking on the "hand" icon under the Status column will open the Audit Results page.
Below picture shows an example for an audit that resulted OK.

Image Added
 
Image Removed
 
Information is displayed about the Overall status, the reasons (Why?), the overall compliance (Audit score), information on Checkpoint results, the Effort needed to pass the audit (if it failed) and specific information about the results of every checkpoint.

Image Added
 
Image Removed
 
 
A full listing of audit's checkpoints is displayed, along with information on each of them.
For those checkpoints failed, clicking of the arrow will list those defects that caused the checkpoint failure.

Image Added
 
Image Removed

 
You can export Audit results in pdf format clicking on PDF link.

...

If you are using Kiuwan Plugin for Jenkins, you can set the build status depending on audit result, for example marking the build UNSTABLE in case the audit fails.
Please, visit Jenkins plugin#DeliveryMode for plugin - DeliveryMode for details on how to configure Kiuwan plugin for Jenkins to set build status depending on audit result.