Branch Coverage

blib/lib/Mojo/Log.pm
Criterion Covered Total %
branch 20 24 83.3


line true false branch
39 28 25 unless my $handle = $self->handle
41 0 25 unless $handle->print(encode("UTF-8", $msg))
48 1 17 if $self->{'capturing'}++
75 14 33 2 >= $LEVEL{$_[0]->level} ? :
77 41 23 5 >= $LEVEL{$_[0]->level} ? :
78 9 0 6 >= $LEVEL{$_[0]->level} ? :
79 4 0 3 >= $LEVEL{$_[0]->level} ? :
89 835 2311 1 >= $LEVEL{$_[0]->level} ? :
90 4 0 4 >= $LEVEL{$_[0]->level} ? :
94 4 2 $COLORS{$level} ? :
107 517 390 ref $_[0] eq 'CODE' ? :
108 868 39 if $self->{'context'}