ok, I can see you're right. That's what my code coverage looks like. Sorry
for the trouble.

On Wed, Mar 25, 2015 at 1:38 AM, Marc Hoffmann <[email protected]>
wrote:

> 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 a topic in the
> Google Groups "JaCoCo and EclEmma Users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/jacoco/HoSGgq7nyss/unsubscribe.
> To unsubscribe from this group and all its topics, 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.
>

-- 
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/CAB9j1Aqm8URmSLuJTT8_4ATfJQDZSKiLcNV05c-GhDmViTiVgg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to