JavaCode coverage with ECLEmma

Hi,

I would like to use EclEmma coverage tool and generate code coverage reports in Sonar dashboard. Could you please let me know if sonar provides plugin for EclEmma and the process needed to generate coverage reports.

Thanks,
Ramya

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • what are you trying to achieve
  • what have you tried so far to achieve this

hello @Ramyasmruti_Vaddired,

EclEmma is based on JaCoCo. You can use JaCoCo to create coverage report in XML format and import it into SonarQube. We have a guide how to do it here [Coverage & Test Data] Importing JaCoCo coverage report in XML format