Hi,
My class looks like
1 public class XXXController {
2
3 private static Logger logger = getLogger(XXX.class);
...
I the report jacoco generated, it identifies two methods that don't
actually exist.
The first is "XXXController()", located at line 1. This is obviously the
constructor method, which I didn't define, but Jacoco just treat the class
as the constructor method.
The second is "static {...}", located at line 3.
Such behavior affects the coverage number in the report... how can I
prevent Jacoco to identify such non-existent methods?
Thanks.
--huafeng
--
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/09478e63-411a-40a8-84a4-91197e679131%40googlegroups.com.