Branch Coverage

blib/lib/Log/Agent.pm
Criterion Covered Total %
branch 45 62 72.5


line true false branch
96 0 34 unless (ref $vset)
100 25 9 if (ref $vset eq 'SCALAR') { }
1 8 elsif (ref $vset eq 'ARRAY') { }
8 0 elsif (ref $vset eq 'REF') { }
106 5 22 unless (defined $Driver)
109 1 4 if defined $Prefix
114 0 27 if defined $Trace and $Trace =~ /^\D+/
115 0 27 if defined $Debug and $Debug =~ /^\D+/
121 3 24 if (defined $calldef)
122 0 3 unless (ref $calldef eq 'ARRAY')
134 1 26 if (defined $priodef)
135 0 1 unless (ref $priodef eq 'ARRAY')
146 2 25 if (defined $tags)
147 0 2 unless (ref $tags eq 'ARRAY')
152 0 2 if (grep {not ref $_ && $_->isa($type);} @$tags)
156 2 0 if (@$tags) { }
165 0 0 if defined $DATUM and $DATUM
210 0 21 if defined $Driver
234 2 0 if $Confess
278 0 15 if $Trace < 3
279 1 14 if defined $Priorities
281 1 14 unless defined $Driver
291 0 33 if $Trace < 4
292 1 32 if defined $Priorities
294 1 32 unless defined $Driver
304 1 16 if $Trace < 4
306 2 15 if defined $Priorities
308 0 4 unless defined $Driver
331 3 29 if $Trace < 6
332 1 28 if defined $Priorities
334 0 29 unless defined $Driver