https://kotlinlang.org logo
Title
g

Gopal S Akshintala

05/14/2022, 12:35 PM
I am using Kover with INTELLIJ agent. Does anyone know how to feed the xml report to Sonarqube? (similar to
sonar.coverage.jacoco.xmlReportPaths
) ?
j

Javier

05/14/2022, 2:55 PM
Same configuration
g

Gopal S Akshintala

05/14/2022, 2:56 PM
But I am getting wrong coverage, are the reports generated by Jacoco and Intellij supposed to be same and compatible? @Javier
j

Javier

05/14/2022, 3:06 PM
There are issues in github which report that they can be different but the style should be the same and compatible with sonar
I am using intellij one and they are working in sonarcloud
g

Gopal S Akshintala

05/14/2022, 3:07 PM
Ok… does Intellij agent also honour the
lombok.generated
annotation?
j

Javier

05/14/2022, 3:07 PM
even they are not perfect, something it is normal IMO due it is not a 1.0 version
No idea, I do android so I don't use lombok
g

Gopal S Akshintala

05/14/2022, 3:08 PM
It’s strange that it’s not documented anywhere that Jacoco and Intellij produce similar coverage
j

Javier

05/14/2022, 3:15 PM
the format is the same to let it be compatible with other tools, it is commented in an issue I think