Message-ID: <772496153.51.1429642971754.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_50_1652338899.1429642971754" ------=_Part_50_1652338899.1429642971754 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
The actions described on this page may only be performed by a
To create a quality profile, click on the Create butt= on on the upper right of the Quality Profiles page.= p>
In the dialog that pops up enter the name of the quality profile. It mus= t be unique among profile names for that language. For some languages, such= as Java and PHP, you can optionally provide configuration files for the ex= ternal tools used during analysis in order to pre-populate the new quality = profile with some existing rules configurations. For Java you can provide f= iles for Checkstyle, PMD and Findbugs.
To copy an existing quality profile, click on the Copy&nbs= p;link next to the profile you want to copy.
You are prompted to give the name of the new profile. It must be unique = among profile names for the language in question. The new profile is an exa= ct copy of the original profile, including inheritance (parent) relationshi= ps.
Click on the Rename button. You are prompted to = give the new name of the profile.
Renaming a profile will result in a Profile Change event being recorded = on the next analysis of each project that uses the profile.
The profile backup mechanism downloads profile's rules to an XML fi= le on your machine. It does not preserve project assignments and profile in= heritance relationships, but inherited rules are included in the backup.
The backup/restore mechanism is useful for:
Click on the Backup link to export a quality = profile as an XML file. To restore a quality profile, click on the&nbs= p;Restore profile link and choose the XML file f= rom which to restore.
=20 =20 =20
As explained previously, language plugins come with built-in profiles (u= sually named "Sonar way") so that you can get started quickly wit= h SonarQube. Those profiles contain a set of rules that are considered to b= e a good basic set of rules for each language. However:
This is why you can use the "Restore Built-In Profile" action:=
Click on the Delete button. Deleting a quality p= rofile will remove the association with projects. If nothing else is d= one, the default profile is used to perform the next analysis on the (ex-) = associated projects.=20 =20