Branch Coverage

blib/lib/Mail/SRS/Daemon.pm
Criterion Covered Total %
branch 5 34 14.7


line true false branch
23 0 1 $#_ == 0 ? :
26 0 1 ref $$args{'Secret'} eq 'ARRAY' ? :
29 0 1 if (exists $$args{'SecretFile'} and defined $$args{'SecretFile'})
31 0 0 unless -r $secretfile
34 0 0 unless open FH, "<$secretfile"
37 0 0 unless /\S/
38 0 0 if /^#/
44 0 1 unless @secrets
53 0 1 if exists $$args{'Socket'}
77 0 0 unless ($listen)
78 0 0 if -e $Mail::SRS::Daemon::SRSSOCKET
84 0 0 unless $listen
92 0 0 if ($sock == $listen) { }
98 0 0 if (defined $line)
104 0 0 if ($cmd eq 'FORWARD') { }
0 0 elsif ($cmd eq 'REVERSE') { }
114 0 0 if ($@)