Here you can find several examples of SonarQube Connector Badge to see how it displays the quality metrics in a Confluence page:
Apache Ant
Here we have set two badges to display size of the project and reliability rating:
SonarQube Connector Badge |
---|
metric | ncloc |
---|
name | sonarcloud.io |
---|
sonarqube-server | sonarcloud.io |
---|
key | ant-master |
---|
|
SonarQube Connector Badge |
---|
metric | reliability_rating |
---|
name | sonarcloud.io |
---|
sonarqube-server | sonarcloud.io |
---|
key | ant-master |
---|
|
Notepad++Microsoft VoTT
Here we have set two badges to display security rating and the number of vulnerabilities found in the project:
SonarQube Connector Badge |
---|
metric | security_rating |
---|
name | sonarcloud.io |
---|
sonarqube-server | sonarcloud.io |
---|
key | c-family:notepad-plus-plusMicrosoft_VoTT |
---|
|
SonarQube Connector Badge |
---|
metric | vulnerabilities |
---|
name | sonarcloud.io |
---|
sonarqube-server | sonarcloud.io |
---|
key | c-family:notepad-plus-plusMicrosoft_VoTT |
---|
|