Branch Coverage

blib/lib/App/Lastmsg.pm
Criterion Covered Total %
branch 19 34 55.8


line true false branch
24 0 1 unless $config
25 0 1 unless $config->{'track'}
29 1 0 unless ref $config->{'inbox'}
30 1 0 unless ref $config->{'sent'}
31 0 1 unless @{$config->{'inbox'};}
37 1 2 unless ref $track
46 3 2 if $addr =~ /
50 1 4 unless $id
52 3 1 if (not exists $lastmsg{$id} or $lastmsg{$id} < $date)
60 0 1 unless -e $folder
61 0 1 if $ENV{'LASTMSG_DEBUG'}
66 0 3 if ($ENV{'LASTMSG_DEBUG'})
69 0 0 if $ENV{'LASTMSG_DEBUG'}
76 0 1 unless -e $folder
77 0 1 if $ENV{'LASTMSG_DEBUG'}
85 0 1 if ($ENV{'LASTMSG_DEBUG'})
88 0 0 if $ENV{'LASTMSG_DEBUG'}