Hello everyone,

I have an issue with JaCoCo that I don't understand. It might be a bug or just 
me being stupid so I thought I ask before opening an issue.

I created a project on GitHub [1] and integrated it with coveralls.io using the 
JaCoCo Maven plugin to generate the coverage report. The issue surfaces in the 
run method of the Main class on line 48 [2]: all branches of the if statement 
are covered in tests and yet JaCoCo reports the body of the if statement as 
uncovered. It is not an issue with coveralls.io because the exact same coverage 
is shown in the JaCoCo HTML report if I build the project on my machine. The 
HTML report even states on line 48 that "all 4 branches [are] covered".

Am I doing something wrong?

[1] https://github.com/hzpz/access-export
[2] 
https://coveralls.io/builds/2422271/source?filename=src%2Fmain%2Fjava%2Fnet%2Fkockert%2Faccess%2Fexport%2FMain.java#L48

-- 
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/a6cdec29-cfd3-48e3-be84-385dadaf331f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to