Is there any way to limit the instrumentation level to method and get method coverage
25 views
Skip to first unread message
Tool Ply
unread,
Mar 13, 2018, 10:38:09 PM3/13/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JaCoCo and EclEmma Users
After instrumenting the target jar by jacoco, I found that the fine-grained instrumentation for line coverage slows down the program. So I want to limit the granularity of instrumentation to method level.
on the other hand, except the function, getMethodCounter(), in CoreTutotrial, is there any other way to get method coverage directly.
Evgeny Mandrikov
unread,
Mar 21, 2018, 2:03:49 PM3/21/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JaCoCo and EclEmma Users
On Wednesday, March 14, 2018 at 3:38:09 AM UTC+1, Tool Ply wrote:
After instrumenting the target jar by jacoco, I found that the fine-grained instrumentation for line coverage slows down the program. So I want to limit the granularity of instrumentation to method level.
There is no option "to limit the granularity of instrumentation to method level" as you can see in our documentation.
And similarly to the observer effect in physics any kind of instrumentation will be affecting original.
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.