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 2962 defined $datestring and $datestring =~ /\A(.+)[ ]+([-+]\d{4})\z/

or 2 conditions

line l !l condition
67 2962 0 $argvs->{'timezoneoffset'} // "+0000"
70 580 2382 $argvs->{'catch'} // undef
76 47358 34 $argvs->{$_} // ""
77 0 892 'Sisimai::SMTP::Reply'->find($argvs->{'diagnosticcode'}) || ''
100 480 2328 $argvs->{'delivered'} // 0
122 583 2391 $messageobj->catch // undef
2931 43 $e->{'lhost'} // ""
2958 16 $e->{'rhost'} // ""
2974 0 $e->{'alias'} // ""
2974 0 $e->{'action'} // ""
2974 0 $e->{'reason'} // ""
2974 0 $e->{'replycode'} // ""
2974 0 $e->{'agent'} // ""
2974 0 $e->{'recipient'} // ""
2974 0 $e->{'softbounce'} // ""
2974 0 $e->{'command'} // ""
2974 0 $e->{'feedbacktype'} // ""
2974 0 $e->{'diagnosis'} // ""
2974 0 $e->{'spec'} // ""
2974 0 $e->{'status'} // ""
137 2767 0 'Sisimai::Address'->find($rfc822data->{$h}) || []
146 195 0 'Sisimai::Address'->find($messageobj->{'header'}{'to'}) || []
187 2962 0 $t->epoch - $zoneoffset // undef
194 2962 0 $argvs->{'data'}{'header'}{'received'} || []
212 2962 0 $rfc822data->{'subject'} // ""
215 32 2930 $rfc822data->{'list-id'} // ""
223 2542 420 $rfc822data->{'message-id'} // ""
269 0 0 $p->{'diagnostictype'} ||= "X-UNIX"
270 1486 1334 $p->{'diagnostictype'} ||= "SMTP"
295 2455 0 $r ||= "undefined"
379 27006 1286 $self->$e // ""
395 644 0 shift() || 'json'

or 3 conditions

line l !l&&r !l&&!r condition
62 601 0 2361 $argvs->{'alias'} || $ar->alias
77 2070 0 892 $thing->{'replycode'} ||= 'Sisimai::SMTP::Reply'->find($argvs->{'diagnosticcode'}) || ''
197 1780 958 76 $e->{'lhost'} ||= shift @{"Sisimai::RFC5322"->received($recvheader->[0]);}
198 2034 691 89 $e->{'rhost'} ||= pop @{"Sisimai::RFC5322"->received($recvheader->[-1]);}
248 445 1625 0 $p->{'replycode'} ||= $vr
279 530 60 662 index($p->{'deliverystatus'}, 5) == 0 or index($p->{'deliverystatus'}, 4) == 0
290 2061 394 507 $o->reason eq "" or exists $$retryindex{$o->reason}
293 75 14 5 $r ||= "Sisimai::Rhost"->get($o, $o->destination)
294 392 2063 0 $r ||= "Sisimai::Reason"->get($o)
299 4 121 2837 $o->reason eq "delivered" or $o->reason eq "feedback"
125 21 2816 $o->reason eq "delivered" or $o->reason eq "feedback" or $o->reason eq "vacation"