Re: [java code coverage] Whether jacoco will add probes in class that hasn’t a method ?

2018-09-23 Thread wumangxing2016
Hi,Marc I encountered another question. When I try ‘mvn install’ to the source code of jacoco. I can can get org.jacoco.core.jar, org.jacoco.report.jar, org.jacoco.agent.jar,jacocoagent.jar, org.jacoco.ant.jar.But I can’t get jaococant.jar which is used by ant *.xml file. The

Re: [java code coverage] Whether jacoco will add probes in class that hasn’t a method ?

2018-09-18 Thread wumangxing2016
thank you for answering my question which really helped me . -- 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

Re: [java code coverage] Whether jacoco will add probes in class that hasn’t a method ?

2018-09-18 Thread Marc Hoffmann
Please first check what is described in the FAQ: https://www.jacoco.org/jacoco/trunk/doc/faq.html Why does the coverage report not show highlighted source code? Make sure the following prerequisites are fulfilled to get source code

Re: [java code coverage] Whether jacoco will add probes in class that hasn’t a method ?

2018-09-17 Thread Marc Hoffmann
Hi Qiao, JaCoCo instruments every class files that has at least one method. * Even a empty Java class will still get a default constructor. * For enums the compiler generates several methods * Only interfaces can result in class files without methods I’m not sure what you mean by “coverage rate