Branch Coverage

lib/Sisimai/SMTP/Error.pm
Criterion Covered Total %
branch 23 24 95.8


line true false branch
21 236 378 if ((my $classvalue = int(substr($statuscode, 0, 1) || 0)) > 0) { }
23 224 12 if ($classvalue == 5) { }
11 1 elsif ($classvalue == 4) { }
1 0 elsif ($classvalue == 2) { }
38 10 368 if (rindex($v, 'temporar') > -1 or rindex($v, 'persistent') > -1) { }
20 348 elsif (rindex($v, 'permanent') > -1) { }
77 3 2812 if ($argv1 eq 'delivered' or $argv1 eq 'feedback' or $argv1 eq 'vacation') { }
45 2767 elsif ($argv1 eq 'onhold' or $argv1 eq 'undefined') { }
38 2729 elsif ($argv1 eq 'notaccept') { }
87 37 1 if ($argv2) { }
91 11 26 $classvalue == 4 ? :
103 19239 2728 unless $argv1 eq $f