Condition Coverage

lib/Sisimai/Data.pm
Criterion Covered Total %
condition 71 100 71.0


and 3 conditions

line !l l&&!r l&&r condition
175 0 0 2932 defined $datestring and $datestring =~ /\A(.+)[ ]+([-+]\d{4})\z/

or 2 conditions

line l !l condition
67 2932 0 $argvs->{'timezoneoffset'} // "+0000"
70 575 2357 $argvs->{'catch'} // undef
76 46883 29 $argvs->{$_} // ""
77 0 892 'Sisimai::SMTP::Reply'->find($argvs->{'diagnosticcode'}) || ''
100 480 2298 $argvs->{'delivered'} // 0
122 578 2366 $messageobj->catch // undef
2901 43 $e->{'lhost'} // ""
2928 16 $e->{'rhost'} // ""
2944 0 $e->{'alias'} // ""
2944 0 $e->{'action'} // ""
2944 0 $e->{'reason'} // ""
2944 0 $e->{'replycode'} // ""
2944 0 $e->{'agent'} // ""
2944 0 $e->{'recipient'} // ""
2944 0 $e->{'softbounce'} // ""
2944 0 $e->{'command'} // ""
2944 0 $e->{'feedbacktype'} // ""
2944 0 $e->{'diagnosis'} // ""
2944 0 $e->{'spec'} // ""
2944 0 $e->{'status'} // ""
137 2737 0 'Sisimai::Address'->find($rfc822data->{$h}) || []
146 195 0 'Sisimai::Address'->find($messageobj->{'header'}{'to'}) || []
187 2932 0 $t->epoch - $zoneoffset // undef
194 2932 0 $argvs->{'data'}{'header'}{'received'} || []
212 2932 0 $rfc822data->{'subject'} // ""
215 32 2900 $rfc822data->{'list-id'} // ""
223 2512 420 $rfc822data->{'message-id'} // ""
265 0 0 $p->{'diagnostictype'} ||= "X-UNIX"
266 1456 1334 $p->{'diagnostictype'} ||= "SMTP"
291 2425 0 $r ||= "undefined"
375 26796 1276 $self->$e // ""
391 639 0 shift() || 'json'

or 3 conditions

line l !l&&r !l&&!r condition
62 583 0 2349 $argvs->{'alias'} || $ar->alias
77 2040 0 892 $thing->{'replycode'} ||= 'Sisimai::SMTP::Reply'->find($argvs->{'diagnosticcode'}) || ''
197 1750 958 76 $e->{'lhost'} ||= shift @{"Sisimai::RFC5322"->received($recvheader->[0]);}
198 2004 691 89 $e->{'rhost'} ||= pop @{"Sisimai::RFC5322"->received($recvheader->[-1]);}
248 421 1619 0 $p->{'replycode'} ||= $vr
275 530 60 662 index($p->{'deliverystatus'}, 5) == 0 or index($p->{'deliverystatus'}, 4) == 0
286 2031 394 507 $o->reason eq "" or exists $$retryindex{$o->reason}
289 75 14 5 $r ||= "Sisimai::Rhost"->get($o, $o->destination)
290 326 2099 0 $r ||= "Sisimai::Reason"->get($o)
295 4 121 2807 $o->reason eq "delivered" or $o->reason eq "feedback"
125 21 2786 $o->reason eq "delivered" or $o->reason eq "feedback" or $o->reason eq "vacation"