Condition Coverage

lib/Sisimai/SMTP/Status.pm
Criterion Covered Total %
condition 75 88 85.2


and 3 conditions

line !l l&&!r l&&r condition
732 3779 261 1522 $characters->[0] > 45 and $characters->[0] < 58
766 140 0 0 $characters->[6] > 47 and $characters->[6] < 58
800 1166 1330 23 $the1stchar->{'reply'} > 0 and $the1stchar->{'field'} != $the1stchar->{'error'}
850 89 0 2 length $argv1 == 7 and index($argv1, ".9.") == 1
860 29 3983 352 length $argv1 == 5 and substr($argv1, -4, 4) eq ".0.0"

or 2 conditions

line l !l condition
645 897 1 shift() || (return '')
646 827 70 shift() // 0
647 781 116 {authfailure => ['5.9.130', '4.9.130'], badreputation => ['5.9.132', '4.9.132'], blocked => ['5.9.134', '4.9.134'], contenterror => ['5.9.160', '4.9.160'], emailtoolarge => ['5.9.161', '4.9.161'], expired => ['5.9.340', '4.9.340'], failedstarttls => ['5.9.350', '4.9.350'], filtered => ['5.9.210', '4.9.210'], hasmoved => ['5.9.211', ''], hostunknown => ['5.9.212', ''], mailboxfull => ['5.9.220', '4.9.220'], mailererror => ['5.9.230', '4.9.230'], networkerror => ['5.9.341', '4.9.341'], norelaying => ['5.9.214', '4.9.214'], notaccept => ['5.9.215', '4.9.215'], notcompliantrfc => ['5.9.162', '4.9.162'], onhold => ['5.9.301', '4.9.301'], policyviolation => ['5.9.371', '4.9.371'], ratelimited => ['5.9.131', '4.9.131'], rejected => ['5.9.110', '4.9.110'], requireptr => ['5.9.133', '4.9.133'], securityerror => ['5.9.370', '4.9.370'], spamdetected => ['5.9.164', '4.9.164'], suppressed => ['5.9.310', '4.9.310'], suspend => ['5.9.221', '4.9.221'], syntaxerror => ['5.9.351', '4.9.351'], systemerror => ['5.9.231', '4.9.231'], systemfull => ['5.9.232', '4.9.232'], undefined => ['5.9.300', '4.9.300'], userunknown => ['5.9.213', ''], virusdetected => ['5.9.165', '4.9.165']}->{$argv1} || (return '')
659 12402 4198 shift() || (return '')
660 9304 2954 {"2.1.5" => "delivered","4.1.6" => "hasmoved","4.1.7" => "rejected","4.1.8" => "rejected","4.1.9" => "systemerror","4.2.1" => "suspend","4.2.2" => "mailboxfull","4.2.3" => "emailtoolarge","4.2.4" => "systemerror","4.3.1" => "systemfull","4.3.2" => "notaccept","4.3.3" => "systemerror","4.3.5" => "systemerror","4.4.1" => "expired","4.4.2" => "networkerror","4.4.3" => "systemerror","4.4.4" => "networkerror","4.4.5" => "systemfull","4.4.6" => "networkerror","4.4.7" => "expired","4.4.8" => "networkerror","4.5.3" => "ratelimited","4.5.5" => "systemerror","4.6.0" => "contenterror","4.6.2" => "contenterror","4.6.5" => "contenterror","4.7.1" => "blocked","4.7.12" => "securityerror","4.7.15" => "securityerror","4.7.16" => "emailtoolarge","4.7.2" => "rejected","4.7.24" => "authfailure","4.7.25" => "requireptr","4.7.26" => "authfailure","4.7.5" => "securityerror","4.7.6" => "securityerror","4.7.7" => "securityerror","5.1.0" => "userunknown","5.1.1" => "userunknown","5.1.10" => "notaccept","5.1.2" => "hostunknown","5.1.3" => "userunknown","5.1.4" => "filtered","5.1.6" => "hasmoved","5.1.7" => "rejected","5.1.8" => "rejected","5.1.9" => "systemerror","5.2.0" => "filtered","5.2.1" => "filtered","5.2.2" => "mailboxfull","5.2.3" => "emailtoolarge","5.2.4" => "systemerror","5.3.0" => "systemerror","5.3.1" => "systemfull","5.3.2" => "notaccept","5.3.3" => "systemerror","5.3.4" => "emailtoolarge","5.3.5" => "systemerror","5.4.0" => "networkerror","5.4.3" => "systemerror","5.4.4" => "hostunknown","5.5.2" => "systemerror","5.5.3" => "ratelimited","5.5.4" => "systemerror","5.5.5" => "systemerror","5.5.6" => "syntaxerror","5.6.0" => "contenterror","5.6.1" => "contenterror","5.6.2" => "contenterror","5.6.3" => "contenterror","5.6.5" => "contenterror","5.6.6" => "contenterror","5.6.7" => "rejected","5.6.8" => "contenterror","5.6.9" => "contenterror","5.7.0" => "securityerror","5.7.1" => "securityerror","5.7.10" => "securityerror","5.7.11" => "securityerror","5.7.13" => "suspend","5.7.14" => "securityerror","5.7.15" => "securityerror","5.7.16" => "emailtoolarge","5.7.17" => "hasmoved","5.7.18" => "hasmoved","5.7.19" => "systemerror","5.7.2" => "securityerror","5.7.20" => "authfailure","5.7.21" => "authfailure","5.7.22" => "authfailure","5.7.23" => "authfailure","5.7.24" => "authfailure","5.7.25" => "requireptr","5.7.26" => "authfailure","5.7.27" => "notaccept","5.7.28" => "spamdetected","5.7.29" => "authfailure","5.7.3" => "securityerror","5.7.30" => "failedstarttls","5.7.4" => "securityerror","5.7.5" => "securityerror","5.7.6" => "securityerror","5.7.7" => "securityerror","5.7.8" => "securityerror","5.7.9" => "securityerror"}->{$argv1} // ""
670 12731 1 shift() || (return 0)
690 7515 1 shift() || (return '')
691 456 6815 shift() || ''
726 5562 0 ord substr($esmtperror, $indexofees - 1, 1) || 0
5562 0 ord substr($esmtperror, $indexofees + 2, 1) || 0
5562 0 ord substr($esmtperror, $indexofees + 3, 1) || 0
738 3744 0 ord substr($esmtperror, $indexofees + 4, 1) || 0
3744 0 ord substr($esmtperror, $indexofees + 5, 1) || 0
3744 0 ord substr($esmtperror, $indexofees + 6, 1) || 0
3743 1 ord substr($esmtperror, $indexofees + 7, 1) || 0
785 3466 1565 shift() || ''
786 3169 1862 shift() || ''
787 2808 2223 shift() || ''
789 3466 1565 $argv0 || (return $argv1)
790 2520 945 $argv1 || (return $argv0)
793 1353 1166 $argv2 || 0
848 91 1 shift() || (return 0)
859 4364 188 shift() || (return 1)

or 3 conditions

line l !l&&r !l&&!r condition
670 3 1 12727 length $argv1 < 5 or length $argv1 > 7
694 26 430 6815 $givenclass eq '2' || $givenclass eq '4' || $givenclass eq '5'
733 0 0 4040 $characters->[0] == 86 or $characters->[0] == 118
734 15 239 3786 $characters->[1] < 48 or $characters->[1] > 55
743 6 0 3738 $characters->[3] < 48 or $characters->[3] > 57
746 172 27 3539 "Sisimai::SMTP::Status"->is_ambiguous($readbuffer) or $readbuffer eq "4.4.7"
752 3035 5 499 $characters->[4] < 48 or $characters->[4] > 57
759 359 0 140 $characters->[5] < 48 or $characters->[5] > 57
833 17 10 10 index($codeinmesg, "5.5.") == 0 or $zeroindex1->{'error'} > 0