Hi,

After passing following implementation of ISessionInfoVisitor and 
IExecutionDataVisitor
https://github.com/SonarSource/sonar-java/blob/master/java-jacoco/src/main/java/org/sonar/plugins/jacoco/ExecutionDataVisitor.java#L50
to ExecutionDataReader you'll get Map from session id into corresponding 
ExecutionDataStore.

HTH.

Evgeny

On Friday, August 25, 2017 at 7:10:56 PM UTC+2, José Carlos de Campos wrote:
>
> Hi,
>
> Thanks, let me thank this awesome tool.
>
> I managed to generate a jacoco.exec with a few sessions and now I would 
> like to generate
> a coverage report per session. Does not need to be like the .html report 
> generated by JaCoCo,
> but to keep this post simple, let's assume I want to generated one those 
> reports per session.
> I've been playing around with the ExecDump 
> <http://www.jacoco.org/jacoco/trunk/doc/examples/java/ExecDump.java> and 
> ReportGenerator 
> <http://www.jacoco.org/jacoco/trunk/doc/examples/java/ReportGenerator.java> 
> examples, but no success
> so far. With the ExecDump example I can visit each session, but 
> SessionInfo does not include
> any coverage information.
>
> Does the .exec include coverage per session? And if yes, could you please 
> point me out what's
> the API I need to use to go through all sessions and get the coverage of 
> each one?
>
>
> --
> Thanks,
> Jose
>

-- 
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/b1ae6168-ba65-4fda-8c45-51e3681336f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to