Hi Evgeny,
Thank you for viewing and responding on the post. Lets remove the Integration of Jacoco with SonarQube. After taking a closer look at report I found there was challenge on the Jacoco xml file which contains only uncovered lines. The Jacoco xml file which got generated doesnt have anything or everything shows as counter covered as "Zero". Infact, I believe it should atleast have some values.
Following is the format the XML file looks as below with many fields, just as sample below:
<report name ="YYY">
<group name = "ZZZ">
<package name = "AAA">
<class name = "BBB">
<method name ="<init>" line="5" desc="()v">
<counter covered ="0" missed ="3" type ="INSTRUCTION"/>
<counter covered ="0" missed ="1" type ="LINE"/>
<counter covered ="0" missed ="1" type ="COMPLEXITY"/>
<counter covered ="0" missed ="1" type ="METHOD"/>
The index.html file looks as below with no metrics:
XYZ
element missed instruction cov Missed branches Cov MissedCXty Missed Lines MissedMthods MissedClasses
XYZ 0% 0% 1037 1037 1642 1642 577 577 51 51
Hence, I feel Challenging part is with Jacoco, where not able to pick the coverage. Is this behaviour expectable or anything we need to consider for reporting the coverage. Any assistnace provided is greatly appreciated.
-Mohan Reddy