I have a large number of classes and execution data to analyze, and the 
analyzing process using become so slow. Because everytime we analyze,we 
need the class file and execution data. I suppose maybe there is a way to 
cache the lines affected by the probe by analyze the class file, so I can 
use this information along with the probe value contained in execution data 
to calculate covered lines very quickly.

the follow json can explain what I want to get:
"class information":{
    "efd7cf2868add1ad":{
    "name":"Sample",
    "affectedLines":[
    [3,4,5],[6,7,9],[12,24]
    ]
    }
}

with the execution data like this:
"execution data":{
"efd7cf2868add1ad":{
"name":"Sample",
"probes":[0,0,1]
}
}

we can get the covered line is line 12 and line 14.

I have dive into the source code, and I found the class 
org.jacoco.core.internal.analysis.MethodAnalyzer may contain the 
information in property coveredProbes, but this property is private. 
Besides, I don't really understand the whole logic, so I'm here to ask for 
some help.

Well, I'm new to the open source world and It's my first time to ask 
questions in English, maybe  my question and expression is not very proper, 
It will be appreciated if you point it out.

-- 
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/aa83fdea-87ac-433a-bf32-abffeae85954%40googlegroups.com.

Reply via email to