Branch Coverage

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


line true false branch
75 0 58 if $self->auto_encoding_charset
84 0 5 if ($type eq 't') { }
5 0 elsif ($type eq 'h') { }
105 1 52 unless $stack[1]
106 1 52 unless $stack[2]
108 0 0 unless $request and $request->remote_host || $request->address
110 0 5 unless $request and $request->id
117 0 376 unless ($cb)
131 5 376 $1 ? :
139 53 0 defined $_ ? :
0 53 ref $_ ? :
157 11 2764 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 28 0 if $self->_should("error")