Branch Coverage

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


line true false branch
155 2 5 if (@_)
180 5 2 if ($self->error_count)
231 1 3 unless (@errors)
244 6 4 if (1 <= $n and $n <= @$text) { }
247 19 8 unless ($errors{$k})
251 1 5 ref $msg ? :
253 0 4 ref $msg ? :
259 3 0 if (%errors)
267 20 0 $n <= @$text ? :
277 6 16 if ($n > $last + 1)
279 1 5 if ($count == 1) { }
299 1 2 if (%invalid)