Branch Coverage

lib/Sisimai/Lhost/Notes.pm
Criterion Covered Total %
branch 22 34 64.7


line true false branch
20 17 870 unless $mhead->{'subject'}
21 854 16 unless index($mhead->{'subject'}, "Undeliverable message") == 0
42 16 0 if (index($mhead->{'content-type'}, "charset=") > 0)
50 16 48 unless ($readcursor)
52 16 0 if index($e, $startingof->{'message'}[0]) == 0
55 0 48 if ($readcursor & $indicators->{'deliverystatus'}) == 0
64 16 32 if (index($e, '@') > 1 and index($e, ' ') == -1) { }
66 0 16 if ($v->{'recipient'})
75 16 16 if $e eq "" or index($e, "-") == 0
77 11 5 if ($e =~ /[^\x20-\x7e]/u) { }
80 11 0 if ($characters) { }
83 0 11 if $@
98 0 16 unless ($recipients)
102 0 0 if ($p1 > 0)
104 0 0 if $v->{'recipient'}
107 0 16 unless $recipients
115 22 10 unless grep {index($e->{'diagnosis'}, $_) != -1;} @{$$messagesof{$r}}