Here you can find several examples of SonarQube Connector Badge to see how it displays the quality metrics in a Confluence page:
WebGoat
Here we have set two badges to display size of the project and reliability rating:
SonarQube Connector Badge |
---|
metric | ncloc |
---|
name | sonar-excentia |
---|
sonarqube-server | sonar-excentia |
---|
key | org.owasp.webgoat:webgoat-parent |
---|
|
SonarQube Connector Badge |
---|
metric | reliability_rating |
---|
name | sonar-excentia |
---|
sonarqube-server | sonar-excentia |
---|
key | org.owasp.webgoat:webgoat-parent |
---|
|
Your project
Here we have set two badges to display security rating and the number of vulnerabilities coverage found in the SonarQube project:
SonarQube Connector Badge |
---|
metric | security_rating |
---|
name | sonar-excentia |
---|
sonarqube-server | sonar-excentia |
---|
key | es.excentia.confluencejira.plugins:confluencejira-city-sonarqubemodel-connectorplugin |
---|
|
SonarQube Connector Badge |
---|
metric | vulnerabilitiescoverage |
---|
name | sonar-excentia |
---|
sonarqube-server | sonar-excentia |
---|
key | es.excentia.confluencejira.plugins:confluencejira-city-sonarqubemodel-connectorplugin |
---|
|