blib/lib/Sendmail/AbuseIPDB.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 28 | 32.1 |
line | true | false | branch |
---|---|---|---|
45 | 1 | 3 | unless (defined $args{'Key'}) |
48 | 4 | 8 | if (defined $args{$k}) |
56 | 0 | 2 | if ($this->{'Debug'}) |
69 | 2 | 0 | if ($this->{'BaseURL'} eq 'test://') |
71 | 1 | 1 | if ($ip eq '192.168.0.1') { } |
1 | 0 | elsif ($ip eq '192.168.0.3') { } | |
77 | 0 | 0 | unless ($fh) |
83 | 0 | 0 | if ($this->{'Debug'}) |
89 | 0 | 0 | if ($this->{'Debug'}) |
95 | 0 | 0 | if (ref $result eq 'HASH') |
100 | 0 | 0 | if (ref $result eq 'ARRAY') |
122 | 0 | 0 | unless ($category =~ /^[0-9]+$/) |
125 | 0 | 0 | unless (defined $c) |
136 | 0 | 0 | if ($c == $category) |