Rules list (DET)

Available in the "Diagnostic" section and for the DET practice, this module brings together all the rules (best practices) to follow on your projects. These rules come from linters deployed on your project, and with which Themis comes to interface. This page is single-project and the project can be chosen via the drop-down list in the filter bar.

ListeDesRegles.PNG

This module proposes the set of rules with the number of violations remaining for each of them, as well as the number of files in which at least one defect related to this rule is present. The module therefore provides an up-to-date inventory of the project.

Details of the violations

To view files with existing defects, you can use the pop-up icon in the "Actions" column.

To display the files in which defects are present for more than one rule, select the rules you want with the checkboxes in the left column, then in the menu at the top right select the entry "Show files containing these violations".

Rules documentations

By clicking on a rule, a window opens allowing you to display its description, allowing each developer to assimilate it. This description is recovered thanks to the linters.

If you want to improve it and modify the content, click on the "Edit" button available at the bottom of this window. A text editor opens and allows you to enrich existing content. Click "Save" to complete the operation. You can always restore the default description by clicking on the "Default Description" button, always in this window.

Enabling or disabling a rule

It is possible to filter the display of the rules according to their status, active or inactive. When a rule is inactive, it will not be taken into account by Themis in the generation of actions. Regardless of the number of defects added or removed regarding this rule, it will be transparent in Themis. Only "Animator" profiles can enable or disable a rule for a project.

This operation is possible via the context menu in the "Actions" column if only one rule is concerned. Otherwise, select the set of rules you want, then choose the action to perform from the drop-down menu at the top right of the page.

When a rule is disabled, it has no direct impact on the linter that performs the code scans. The scope of these operations therefore remains directly in Themis.

Lorsqu'une règle est désactivée, elle n'a aucun impact direct sur le linter qui effectue les analyses de code. La portée de ces opérations reste donc directement dans Themis.It is possible to filter the display of the rules according to their status, active or inactive. When a rule is inactive, it will not be taken into account by Themis in the generation of actions. Regardless of the number of defects added or removed regarding this rule, it will be transparent in Themis. Only "Animator" profiles can enable or disable a rule for a project.

 

This operation is possible via the context menu in the "Actions" column if only one rule is concerned. Otherwise, select the set of rules you want, then choose the action to perform from the drop-down menu at the top right of the page.

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.