Devel--Cover
Devel--Cover copied to clipboard
0 coverage reported on empty row
I was looking at this report http://cpancover.com/latest/Mojolicious-8.71/blib-lib-Mojo-IOLoop-Client-pm.html and saw a number of strange things:
Between rows 13-14 there are two empty rows that are marked with 0 coverage.
There are a number of other places as well that show no code, but 0 statement coverage
I observe this at both lines 13 and 19 of http://cpancover.com/latest//Mojolicious-9.22/blib-lib-Mojo-IOLoop-Client-pm.html. In both cases a constant is being declared based on the result of a ternary condition, the last part of which is an eval {}
. My guess is that something inside the eval
is not being exercised in the test suite. But this is probably a situation not previously encountered by D-C.