Branch Coverage

blib/lib/Mail/POP3/Security/Connection.pm
Criterion Covered Total %
branch 2 28 7.1


line true false branch
51 0 1 if (-f $self->{'CONFIG'}{'trusted_networks'})
55 0 0 if /^\#/
56 0 0 if /^\s+$/
59 0 0 if ($client_ip =~ /^$_/ or $fqdn =~ /^$_$/)
70 0 0 unless ($lookup_ok or $self->{'CONFIG'}{'allow_non_fqdn'} or $secure)
75 0 1 if (-s $self->{'CONFIG'}{'hosts_allow_deny'})
81 0 0 if /^\#/
82 0 0 if /^\s+$/
92 0 0 if ($action =~ /deny/i and $peer =~ /all/i) { }
0 0 elsif ($client_ip =~ /^$peer/ or $fqdn =~ /^$peer$/i) { }
95 0 0 if ($action =~ /allow/i) { }
0 0 elsif ($action =~ /warn/i) { }
0 0 elsif ($action =~ /deny/i and not $peer =~ /all/i) { }
109 0 0 if ($deny_all == 1 and $allowed == 0)