Branch Coverage

blib/lib/Log/Stack.pm
Criterion Covered Total %
branch 15 18 83.3


line true false branch
41 22 6 unless $self->_hooks->{$hook}
51 5 2 if @_ % 2
70 10 7 unless ($self->_initialized)
75 0 3 if exists $rest{$key}
77 1 2 if (ref $val eq 'CODE') { }
89 1 5 unless @{$self->_stack;}
91 4 1 if (ref $target eq 'CODE') { }
1 0 elsif (&blessed($target) and $target->can('log')) { }
123 0 4 unless ref $code eq 'CODE'