Branch Coverage

blib/lib/Dancer2/Core/Role/Logger.pm
Criterion Covered Total %
branch 20 34 58.8


line true false branch
81 0 58 if $self->auto_encoding_charset
89 0 5 if ($type eq 't') { }
5 0 elsif ($type eq 'h') { }
107 0 376 unless ($cb)
121 5 376 $1 ? :
139 0 0 unless $stack[0]
140 1 52 unless $stack[1]
141 1 52 unless $stack[2]
143 0 0 unless $request and $request->remote_host || $request->address
145 0 5 unless $request and $request->id
152 53 0 defined $_ ? :
0 53 ref $_ ? :
170 11 2779 if $self->_should("core")
175 3 9 if $self->_should("debug")
180 2 0 if $self->_should("info")
185 9 0 if $self->_should("warning")
190 28 0 if $self->_should("error")