Please see our FAQ:

Why does the coverage report not show highlighted source code?

Make sure the following prerequisites are fulfilled to get source code 
highlighting in JaCoCo coverage reports:

Class files must be compiled with debug information to contain line numbers.
Source files must be properly supplied at report generation time. I.e. 
specified source folders must be the direct parent of the folders that define 
the Java packages.


https://www.jacoco.org/jacoco/trunk/doc/faq.html 
<https://www.jacoco.org/jacoco/trunk/doc/faq.html>

Regards,
-marc


> On 18. Oct 2018, at 06:22, suman...@gmail.com wrote:
> 
> I am using cli to generate report
> java -jar jacococli.jar report <path to jacoco.exec> --classfiles <class file 
> location> --sourcefiles <Source file location>  --html <report path>
> 
> I am getting the report and the coverage % correctly. However, i cant drill 
> down inside the methods to see which part of code is not covered. There is no 
> hyperlink on the method names in the  report.
> Can you please let me know what is going wrong here.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "JaCoCo and EclEmma Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jacoco+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jacoco/70c0c1cd-7d1e-4c1b-9fc3-9d647e0523a8%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jacoco+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/2CD7B415-9D81-4FF4-8775-792F3E8E9C08%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to