Hi,

can you please show screenshots of the problem?

JaCoCo is based on the debug line numbers within the class files. So it fully depends on the compiler. If I remember correctly JDK's javac assigns all lines of a multi-line expression to a single line, see for example:

http://www.eclemma.org/jacoco/trunk/coverage/org.jacoco.agent.rt/org.jacoco.agent.rt.internal/CoverageTransformer.java.html#L143

Best regards,
-marc

On 2015-03-24 22:26, [email protected] wrote:
I noticed if I have a method call that looks like this:

myClass.
      myMethod();

the code doesn't show as being covered, when I know it was. However,
if I put it on one line:

myClass.myMethod();

it shows as being covered.

--
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/49f12f014cfd5ddc4d0f5774594aa2b5%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to