Condition Coverage

lib/Sisimai/RFC2045.pm
Criterion Covered Total %
condition 57 64 89.0


and 3 conditions

line !l l&&!r l&&r condition
66 2838 0 412 $ctxcharset and $qbencoding
207 12 306 6202 $lowerchunk ne "" and substr($lowerchunk, 0, 1) ne "\n"
282 4689 3720 34 index($mediatypev, "text/") != 0 and index($mediatypev, "message/") != 0

or 2 conditions

line l !l condition
16 10382 1 shift() || (return 0)
36 3250 1 shift() || (return '')
84 46 1 shift() // (return "")
96 285 1 shift() // (return "")
98 274 11 &MIME::QuotedPrint::decode($$argv0) || ''
109 10326 2388 shift() || (return '')
110 4269 6057 shift() || ''
131 4265 44 shift() || (return '')
132 4139 126 shift() // -1
133 4133 132 __PACKAGE__->parameter($argv0, 'boundary') || (return '')
150 8909 1 shift() // (return undef)
151 1 8908 shift() // undef
219 2828 1 shift() || (return [])
220 2827 1 shift() || (return [])
222 2827 0 __PACKAGE__->boundary($argv0, 0) || (return [])
236 462 0 __PACKAGE__->boundary($f->[0], -1) || (next)
267 2411 1 shift() // (return undef)
268 2410 1 shift() // (return undef)
281 6055 2388 __PACKAGE__->parameter($e->[0]) || 'text/plain'
290 1425 6984 $e->[1] || ''

or 3 conditions

line l !l&&r !l&&!r condition
49 64 412 0 $ctxcharset ||= lc $2
50 64 412 0 $qbencoding ||= uc $3
168 163 110 4237 index($e, "boundary=") != -1 or index($e, "charset=") != -1
238 0 0 462 length $bodyinside < 9 or index($bodyinside, $boundary02) == -1
269 31 15 2364 index($argv0, "multipart/") == -1 or index($argv0, "boundary=") == -1