Hi, JaCoCo works on debug information in Java class files. Eclipse has its own compiler which creates more detailed debug information in certain situations (e.g. multi-line expressions). But this should cause only a minor difference (and should not have an impact on line coverage).
Also note that we added a few filters to JaCoCo (for unwanted compiler artifacts). Depending on your Eclipse version you might use a older JaCoCo version in Eclipse. For a detailed discussion please provide 1) An example snippet with its coverage values in both reports (Screenshots) 2) The version of the Maven plug-in. 3) The version of the EclEmma plug-in. Regards, marc > On 31. Aug 2018, at 22:30, [email protected] wrote: > > Hello , > > in My eclipse i am using eclemma 3.1.0 version > > in pom.xml i am using jacoco-maven-plugin 0.8.1 version. > > When i run my test class in eclipse as Coverage As --> Test NG Test, Line > coverage ,Branch coverage, total lines etc are showing different values > compared to > > JACOCO site report when run using maven install command in command prompt. > > > is there something i am missing? Please let me know if you need any thing. > > Please help. > > > -- > 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 [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jacoco/967d079d-64a5-4180-a27b-f0a655d82983%40googlegroups.com > > <https://groups.google.com/d/msgid/jacoco/967d079d-64a5-4180-a27b-f0a655d82983%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/E49B8EFD-D899-4405-A4B5-5EE79488F5B7%40mountainminds.com. For more options, visit https://groups.google.com/d/optout.
