Branch Coverage

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


line true false branch
20 18 867 unless $mhead->{'subject'}
21 851 16 unless index($mhead->{'subject'}, "Undeliverable message") == 0
41 16 0 if (index($mhead->{'content-type'}, "charset=") > 0)
49 16 48 unless ($readcursor)
51 16 0 if index($e, $startingof->{'message'}[0]) == 0
54 0 48 if ($readcursor & $indicators->{'deliverystatus'}) == 0
63 16 32 if (index($e, '@') > 1 and index($e, ' ') == -1) { }
65 0 16 if ($v->{'recipient'})
74 16 16 if $e eq "" or index($e, "-") == 0
76 11 5 if ($e =~ /[^\x20-\x7e]/u) { }
79 11 0 if ($characters) { }
82 0 11 if $@
97 0 16 unless ($recipients)
101 0 0 if ($p1 > 0)
103 0 0 if $v->{'recipient'}
106 0 16 unless $recipients
114 6 10 unless grep {index($e->{'diagnosis'}, $_) != -1;} @{$$messagesof{$r}}