How to set the data for the code quality for a source?

To determine how to access the data for the code quality, you have to first of all identify, in the sections below, the scenario in which where is your source. From there, you will be able to configurer a plugin for the DET practice on your source.

You already have a linter for your project

In this scenario, you already have a tooling for static analysis of code. Here are the different possible scenarios:

You use open source linters supported by Themis

These linters produce output files, generally in a phase of continuous integration. Here are the linters for which you may provide reports:

You use your own linter, not supported by Themis

You use your own linter, not supported by Themis
Whether this is an open source solution, proprietary or else that you have built internally, it is possible to interface with Themis thanks to a generic exchange format offered by Themis. Go to this page for more information.

You don't have a linter for your project

In this scenario, you wish to delegate to Themis the static analysis of code that will handle the execution of the analysis every commits.

As a prerequisite, and to start to user the embedded linters, you have to first activate ce mode for your source.

Here are the available linters, being able to be add then as a sub-plugins of the "embedded Linters" plugin.

It is permitted to combine several linters for a source. 

This mode works only with standard configurations for the different linters. It is not adapted if you have configured custom rules, or use existing plugins that are not already pre-installed in Themis (the listing of such third plugins is specified in the page devoted to each of the linters).

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

Comments

0 comments

Please sign in to leave a comment.