Branch Coverage

blib/lib/Mail/Reporter.pm
Criterion Covered Total %
branch 34 42 80.9


line true false branch
54 1 60 unless @_
58 0 60 unless my $prio = $thing->logPriority($level)
61 57 3 if (not @_) { }
1 2 elsif (ref $_[0]) { }
88 3 1 unless @_
91 0 1 unless my $prio = $levelprio{$level}
108 55 2 if (ref $thing) { }
110 3 52 unless @_
113 0 52 unless my $prio = $levelprio{$level}
116 0 52 unless @_
121 2 50 if $prio >= $thing->{'MR_trace'}
123 0 52 unless $thing->{'MR_trace'}
126 6 46 if $prio >= $thing->{'MR_log'}
130 0 2 unless my $prio = $levelprio{$level}
133 1 1 if $prio >= $default_trace
148 7 4 if (@_)
150 0 7 unless my $prio = $levelprio{$level}
153 7 0 $reports->[$prio] ? :
158 11 9 unless $reports->[$prio]
174 3 2 if exists $reports->[$prio]
214 2 72 unless my $level = $levelprio{$_[1]}