| blib/lib/App/Lastmsg.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 24 | 30 | 80.0 |
| line | true | false | branch |
|---|---|---|---|
| 25 | 0 | 2 | unless $config |
| 26 | 0 | 2 | unless $config->{'track'} |
| 30 | 0 | 2 | unless ref $config->{'inbox'} |
| 31 | 2 | 0 | unless ref $config->{'sent'} |
| 32 | 0 | 2 | unless @{$config->{'inbox'};} |
| 38 | 2 | 4 | unless ref $track |
| 47 | 6 | 4 | if $addr =~ / |
| 51 | 2 | 8 | unless $id |
| 53 | 6 | 2 | if (not exists $lastmsg{$id} or $lastmsg{$id} < $date) |
| 61 | 2 | 2 | unless -e $folder |
| 62 | 1 | 1 | if $ENV{'LASTMSG_DEBUG'} |
| 67 | 3 | 3 | if ($ENV{'LASTMSG_DEBUG'}) |
| 76 | 0 | 2 | unless -e $folder |
| 77 | 1 | 1 | if $ENV{'LASTMSG_DEBUG'} |
| 85 | 1 | 1 | if ($ENV{'LASTMSG_DEBUG'}) |