Branch Coverage

lib/Sisimai/SMTP/Transcript.pm
Criterion Covered Total %
branch 15 24 62.5


line true false branch
24 5 6 unless index($argv0, ">>> ") != -1
25 0 6 unless index($argv0, "<<< ") != -1
45 6 0 if ($p2 < $p1) { }
50 6 0 if $p2 > -1
54 0 0 if $p1 > -1
63 42 120 if (index($e, '>>> ') == 0) { }
73 24 18 if ($thecommand eq 'MAIL' or $thecommand eq 'RCPT' or $thecommand eq 'XFORWARD') { }
75 12 12 if (index($commandarg, 'FROM:') == 0 or index($commandarg, 'TO:') == 0) { }
94 0 54 if index($f, "=") < 1 or length $f < 3
96 0 54 unless scalar @ee == 2
105 0 120 unless $p3 == 0
112 0 6 unless scalar @$esmtp