Mentioned CoreTutorial.java doesn't generate HTML report, but simply shows available data, and works not only for a single class, but for a set of classes, what is essentially "project". So aren't this already shown in it - https://github.com/jacoco/jacoco/blob/e1502d10bfe8eda0a921cc8f34db3fb8f7236c4a/org.jacoco.examples/src/org/jacoco/examples/CoreTutorial.java#L160-L163 ? All executed lines have status different from EMPTY and NOT_COVERED - https://github.com/jacoco/jacoco/blob/e1502d10bfe8eda0a921cc8f34db3fb8f7236c4a/org.jacoco.core/src/org/jacoco/core/analysis/ICounter.java#L41-L59
On Monday, December 4, 2017 at 12:40:03 PM UTC+1, Echo wrote: > > Hi all > I can use CoreTutorial.java > <http://www.eclemma.org/jacoco/trunk/doc/examples/java/CoreTutorial.java> to > get simple coverage information of a *single* class. Now i want to get > the executed code line of a *project*. What should i do? > - I just need the executed code line rather than the HTML report, so i can > easily record the code line which was executed. I'll show it below. > > > <https://lh3.googleusercontent.com/-ZeSSJRZUHyo/WiUzc7Fw3LI/AAAAAAAAAC8/sXEKLMxZe1krxCBthrCax7nbQv9esO-SgCLcBGAs/s1600/14L%257DIH9%257D%255D%2540_QYM%257BUBMRUR%257DU.png> > > Regards > echo > -- 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/0d57046b-7c94-4272-9511-63fa2e38c577%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
