Condition Coverage

lib/Sisimai/Lhost/Exchange2003.pm
Criterion Covered Total %
condition 14 23 60.8


or 2 conditions

line l !l condition
16 282 1 shift() // (return undef)
17 282 0 shift() // (return undef)
23 0 22 $match ||= 1
32 32 0 $mhead->{'x-mailer'} || ''
33 0 5 $match ||= 1
39 0 0 $match ||= 1
201 32 0 'Sisimai::SMTP::Status'->code($r) || ''

or 3 conditions

line l !l&&r !l&&!r condition
33 0 5 27 index($value, $tryto->[0]) == 0 or index($value, $tryto->[1]) == 0
127 37 0 227 $e =~ /\A[ \t]*([^ ]+[\@][^ ]+) on[ \t]*.*\z/ or $e =~ /\A[ \t]*.+(?:SMTP|smtp)=([^ ]+[\@][^ ]+) on[ \t]*.*\z/
164 27 5 32 $e =~ /\A[ \t]+Sent:[ \t]+([A-Z][a-z]{2},.+[-+]\d{4})\z/ or $e =~ m[\A[ \t]+Sent:[ \t]+(\d+[/]\d+[/]\d+[ \t]+\d+:\d+:\d+[ \t].+)]