Loading

Use of SonarQube Plugin to Inspect Code & MUnit Coverage

Fecha de publicación: Aug 6, 2025
Tarea

GOAL

"I am trying to find a sample pom file which I can use in my project to push Munit coverage report to SonarQube using maven". How to use SonarQube plugin to inspect code & MUnit coverage?
Pasos

Mule SonarQube Plugin : A plugin has been created to validate Mule applications code (Configuration Files) using SonarQube. This plugin contains a set of rules and metrics that are going to used and calculated every time a project is being inspected.
For more information, about SonarQube please refer to: SonarQube.
This is an UNLICENSED software, please review the considerations.

The Mule SonarQube Plugin provides the capability to do code inspecting and taking project metrics from a mule project using SonarQube.

For more detailed steps, please follow here: mule-sonarqube-plugin.
 

ADDITIONAL INFORMATION

You need to configure the below plugin in pom.xml to generate the SonarQube report:
 
<coverage>
  <runCoverage>true</runCoverage>
  <formats>
      <format>console</format>
      <format>html</format>
      <format>json</format>
      <format>sonar</format>
  </formats>
</coverage>

For more information refer to coverage-maven-concept.
Número del artículo de conocimiento

001116813

 
Cargando
Salesforce Help | Article