Condition Coverage

lib/Sisimai/Message.pm
Criterion Covered Total %
condition 26 35 74.2


or 2 conditions

line l !l condition
37 2792 0 $argvs->{'data'} || (return undef)
75 1092 1700 $argvs->{'hook'} || undef
135 2792 0 shift() // (return undef)
166 5550 0 shift() || (return {})
167 2758 2792 shift() || 0
234 2792 0 $argvs->{'mail'}{'header'} || (return '')
235 2792 0 $argvs->{'body'} || (return '')
236 1092 1700 $argvs->{'hook'} || undef
242 2787 5 $mailheader->{'from'} //= ""
243 2792 0 $mailheader->{'subject'} //= ""
244 2366 426 $mailheader->{'content-type'} //= ""
247 2366 426 $mailheader->{'content-type'} || ''
248 569 2223 $mailheader->{'content-transfer-encoding'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
81 2440 343 0 $bouncedata->{'rfc822'} || $aftersplit->[2]
249 438 0 2354 index($mesgformat, "text/plain") == 0 or index($mesgformat, "text/html") == 0
338 128 2821 0 $_->{'agent'} ||= $modulename