Branch Coverage

blib/lib/Dancer2/Core/Role/Logger.pm
Criterion Covered Total %
branch 20 32 62.5


line true false branch
75 0 52 if $self->auto_encoding_charset
84 0 4 if ($type eq 't') { }
4 0 elsif ($type eq 'h') { }
105 1 47 unless $stack[1]
106 1 47 unless $stack[2]
108 0 0 unless $request and $request->remote_host || $request->address
110 0 4 unless $request and $request->id
117 0 340 unless ($cb)
131 4 340 $1 ? :
139 46 0 defined $_ ? :
0 46 ref $_ ? :
157 5 2312 if $self->_should("core")
162 3 9 if $self->_should("debug")
167 2 0 if $self->_should("info")
172 9 0 if $self->_should("warning")
177 27 0 if $self->_should("error")