Branch Coverage

blib/lib/Gaim/Log/Mailer.pm
Criterion Covered Total %
branch 7 32 21.8


line true false branch
43 0 1 unless (-d $$self{'base_dir'})
44 0 0 unless mkdir $$self{'base_dir'}
48 1 0 if (-f $$self{'config_file'}) { }
51 0 2 unless (exists $$self{'conf'}{$key})
58 0 1 if ($$conf{'exclude_words'})
63 0 1 if ($$conf{'languages'})
74 0 1 unless (defined $$self{'conf'}{'email_to'})
84 0 1 unless dbmopen %SEEN, "$$self{'base_dir'}/seen", 420
105 0 0 if $from eq $to
110 0 0 if $SEEN{$file} and $SEEN{$file} == $mtime
113 0 0 if ($age < $$self{'mailer'}{'conf'}{'min_age'})
126 0 0 unless ($$self{'mailer'}->email_send($epoch, $to, $subject, $formatted))
164 0 0 unless length $content
169 0 0 $urifound ? :
185 0 0 unless ($$self{'throttler'}->try_push)
190 0 0 if ($$self{'fake_email'})