Branch Coverage

blib/lib/Dist/Zilla/Role/ErrorLogger.pm
Criterion Covered Total %
branch 21 24 87.5


line true false branch
156 2 5 if (@_)
181 5 2 if ($self->error_count)
232 1 3 unless (@errors)
245 6 4 if (1 <= $n and $n <= @$text) { }
248 19 8 unless ($errors{$k})
252 1 5 ref $msg ? :
254 0 4 ref $msg ? :
260 3 0 if (%errors)
268 20 0 $n <= @$text ? :
278 6 16 if ($n > $last + 1)
280 1 5 if ($count == 1) { }
300 1 2 if (%invalid)