Condition Coverage

lib/Sisimai/RFC2045.pm
Criterion Covered Total %
condition 55 64 85.9


and 3 conditions

line !l l&&!r l&&r condition
66 2879 0 412 $ctxcharset and $qbencoding
208 0 306 6297 $lowerchunk ne "" and substr($lowerchunk, 0, 1) ne "\n"
283 4744 3766 34 index($mediatypev, "text/") != 0 and index($mediatypev, "message/") != 0

or 2 conditions

line l !l condition
16 10476 1 shift() || (return 0)
36 3291 1 shift() || (return '')
84 46 1 shift() // (return "")
96 285 1 shift() // (return "")
98 274 11 &MIME::QuotedPrint::decode($$argv0) || ''
109 10458 2406 shift() || (return '')
110 4318 6140 shift() || ''
131 4314 41 shift() || (return '')
132 4188 126 shift() // -1
133 4166 148 __PACKAGE__->parameter($argv0, 'boundary') || (return '')
150 9010 1 shift() // (return undef)
151 1 9009 shift() // undef
220 2875 1 shift() || (return [])
221 2874 1 shift() || (return [])
223 2859 15 __PACKAGE__->boundary($argv0, 0) || (return [])
237 462 0 __PACKAGE__->boundary($f->[0], -1) || (next)
268 2412 1 shift() // (return undef)
269 2411 1 shift() // (return undef)
282 6138 2406 __PACKAGE__->parameter($e->[0]) || 'text/plain'
291 1427 7083 $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
169 163 110 4277 index($e, "boundary=") != -1 or index($e, "charset=") != -1
239 0 0 462 length $bodyinside < 9 or index($bodyinside, $boundary02) == -1
270 0 0 2411 index(lc $argv0, "multipart/") == -1 or index(lc $argv0, "boundary=") == -1