Branch Coverage

inc/Log/Dispatch.pm
Criterion Covered Total %
branch 7 26 26.9


line true false branch
39 0 1 if @cb
50 0 0 if (exists $$self{'outputs'}{$object->name} and $^W)
71 0 2 unless $self->would_log($p{'level'})
81 0 2 if ref $p{'message'} eq 'CODE'
84 0 2 if $$self{'callbacks'}
108 0 0 if $self->would_log($p{'level'})
127 0 0 if exists $p{'carp_level'}
138 0 0 if $$self{'callbacks'}
150 2 0 if (exists $$self{'outputs'}{$name}) { }
0 0 elsif ($^W) { }
165 0 0 unless exists $$self{'outputs'}{$name}
181 0 2 unless $self->level_is_valid($level)
185 2 0 if $_->_should_log($level)