sorry , I will show you my idea (maybe it is incorrect ) 1)I guess the .exec data is right ,because when I call a http interface the .exec file size grows,I guess is has collected the coverage data 2) if the .exec data is right ,it just seems the html report just shows incorrect ,because to produce the report I will provider classes files 、 source files and .exec data .The relation betwwen them is .exec data is dumped with running classed ,and the classes file can map the source files ,if the .exec data has collected the coverage ,either the .exec data is not matched with classes file ,or the classes files is not matched with the source code. but when I clicked the class in the html report (right conner) is seems the classes file and source file mapping is right. and I guess maybe my applicaion use some jars affecting the .exec data ~ waiting your reply
在 2016年7月12日星期二 UTC+8下午11:07:27,Marc R. Hoffmann写道: > > Hi, > > this looks really strange. Only the first line is highligted as covered, > right? > > Can you please provide some information about your setup: > > 1) How do you create the report (Maven, Ant, Eclipse, ...)? > 2) What exact version of JaCoCo are you using (see footer of report)? > 3) How do you compile your class files? What compiler vendor/version are > you using? > 4) Do you process you class files after compiling (e.g. for obfuscation) > > Regards, > -marc > > On 2016-07-12 03:06, Liangbin Dai wrote: > > Hi marc: > > I get a html like this , I donot know why , > > I hava already checkeck the sessions , it has the coverage the > > classes which I calls manually. > > but I donot know why html the coverage report seems incorrect , the > > code should execute in order ,but the html seems incorrect because the > > code execute uncontinues . > > > > I guess the problem is due to .exec data or classes files or source > > files ,but I donot know how to make sure and config out what the > > problem. > > can you help me ,thanks > > > > -- > > 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] <javascript:>. > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/jacoco/2d1e58e6-039e-4f31-942e-91dc4bbcab31%40googlegroups.com > > > [1]. > > For more options, visit https://groups.google.com/d/optout. > > > > > > Links: > > ------ > > [1] > > > https://groups.google.com/d/msgid/jacoco/2d1e58e6-039e-4f31-942e-91dc4bbcab31%40googlegroups.com?utm_medium=email&utm_source=footer > > -- 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/b028e69e-ba61-48e7-bd00-2224d13be0ef%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
