How to Create an Analysis Profile
Teamscale comes with pre-configured analysis profiles for all supported languages. These provide sane default values for all analyses. Not all available analyses are enabled by default, though. When starting out, it is usually a good idea to start with the default profile for a language and customize it later to fit your needs. Each project uses exactly one such profile.
A single analysis profile can cover multiple programming languages.
In the left sidebar, click on Projects → Analysis Profile .
To create a new analysis profile from scratch, use
Create analysis profile or import an existing (previously exported) XML file by using
Import analysis profile. If you want to edit an existing analysis profile, click its button. The other buttons in this row can be used to duplicate a configuration , delete it or download it as an XML file .
To use one of the default profiles as basis for configuring a custom one, we recommend to copy the default profile, and then edit the copied version afterwards.
Next, the create analysis dialog will appear to ask for a new unique name for the analysis profile:
Continue the view will redirect to the check explorer and open the new profile for editing. By default, the check explorer will be empty, as there are no languages selected so far.
A hint is shown on the screen to guide where languages for the profile can be added. Selecting a language will also automatically add the tool for this language, and this in turn will fill the profile with the default pre-defined set of quality indicators and analysis profiles for this particular configuration. This set can be further customized as needed.
For more details on editing analysis profiles in the check explorer, please refer to this page.