Branch Coverage

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


line true false branch
152 2 5 if (@_)
173 5 2 if ($self->error_count)
222 1 3 unless (@errors)
235 6 4 if (1 <= $n and $n <= @$text) { }
238 19 8 unless ($errors{$k})
242 1 5 ref $msg ? :
244 0 4 ref $msg ? :
250 3 0 if (%errors)
258 20 0 $n <= @$text ? :
268 6 16 if ($n > $last + 1)
270 1 5 if ($count == 1) { }
290 1 2 if (%invalid)