| blib/lib/Mail/MtPolicyd/Plugin/Accounting.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 14 | 20 | 70.0 | 
| line | true | false | branch | 
|---|---|---|---|
| 43 | 0 | 31 | if ($self->get_uc($session, 'enabled') eq 'off') | 
| 47 | 0 | 31 | if ($r->is_already_done($self->name . '-acct')) | 
| 56 | 0 | 93 | if (not defined $key or $key =~ /^\s*$/) | 
| 122 | 31 | 0 | defined $recipient_count ? : | 
| 123 | 31 | 0 | defined $size ? : | 
| 125 | 10 | 21 | $rcpt_cnt ? : | 
| 126 | 10 | 21 | $rcpt_cnt ? : | 
| 137 | 24 | 69 | if ($@ =~ /^accounting row does not exist/) { } | 
| 0 | 69 | elsif ($@) { } | |
| 187 | 24 | 69 | if ($rows == 0) |