Here you can find several examples of SonarQube Connector Badge to see how it displays the quality metrics in a Confluence page:
Apache
Tomcat 9.xAnt
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 | org.apache:tomcat:9.xant-master |
---|
|
SonarQube Connector Badge |
---|
metric | reliability_rating |
---|
name | sonarcloud.io |
---|
sonarqube-server | sonarcloud.io |
---|
key | org.apache:tomcat:9.xant-master |
---|
|
Notepad++
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-plus |
---|
|
SonarQube Connector Badge |
---|
metric | vulnerabilities |
---|
name | sonarcloud.io |
---|
sonarqube-server | sonarcloud.io |
---|
key | c-family:notepad-plus-plus |
---|
|