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
726 3769 261 1782 $characters->[0] > 45 and $characters->[0] < 58
760 140 0 0 $characters->[6] > 47 and $characters->[6] < 58
794 1155 1346 23 $the1stchar->{'reply'} > 0 and $the1stchar->{'field'} != $the1stchar->{'error'}
844 125 0 82 length $argv1 == 7 and index($argv1, ".9.") == 1
854 29 3973 352 length $argv1 == 5 and substr($argv1, -4, 4) eq ".0.0"

or 2 conditions

line l !l condition
639 897 1 shift() || (return '')
640 827 70 shift() // 0
641 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 '')
653 12487 3200 shift() || (return '')
654 9254 2894 {"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} // ""
664 12816 1 shift() || (return 0)
684 7496 6 shift() || (return '')
685 456 6796 shift() || ''
720 5812 0 ord substr($esmtperror, $indexofees - 1, 1) || 0
5812 0 ord substr($esmtperror, $indexofees + 2, 1) || 0
5812 0 ord substr($esmtperror, $indexofees + 3, 1) || 0
732 3734 0 ord substr($esmtperror, $indexofees + 4, 1) || 0
3734 0 ord substr($esmtperror, $indexofees + 5, 1) || 0
3734 0 ord substr($esmtperror, $indexofees + 6, 1) || 0
3733 1 ord substr($esmtperror, $indexofees + 7, 1) || 0
779 3511 1489 shift() || ''
780 3143 1857 shift() || ''
781 2793 2207 shift() || ''
783 3511 1489 $argv0 || (return $argv1)
784 2525 985 $argv1 || (return $argv0)
787 1369 1155 $argv2 || 0
842 207 1 shift() || (return 0)
853 4354 188 shift() || (return 1)

or 3 conditions

line l !l&&r !l&&!r condition
664 3 1 12812 length $argv1 < 5 or length $argv1 > 7
688 26 430 6796 $givenclass eq '2' || $givenclass eq '4' || $givenclass eq '5'
727 0 0 4030 $characters->[0] == 86 or $characters->[0] == 118
728 15 239 3776 $characters->[1] < 48 or $characters->[1] > 55
737 6 0 3728 $characters->[3] < 48 or $characters->[3] > 57
740 172 27 3529 "Sisimai::SMTP::Status"->is_ambiguous($readbuffer) or $readbuffer eq "4.4.7"
746 3025 5 499 $characters->[4] < 48 or $characters->[4] > 57
753 359 0 140 $characters->[5] < 48 or $characters->[5] > 57
827 17 10 10 index($codeinmesg, "5.5.") == 0 or $zeroindex1->{'error'} > 0