Condition Coverage

blib/lib/MIME/EcoEncode/Param.pm
Criterion Covered Total %
condition 12 27 44.4


and 3 conditions

line !l l&&!r l&&r condition
148 3 0 0 $quote and not $value =~ /[^\t\x20-\x7e]/
562 4 3 1 $value and $value =~ qr/$reg_ew(\s|$)/
646 0 0 0 not $cs_init and $quote

or 2 conditions

line l !l condition
37 3 3 shift() || 'UTF-8'
64 3 3 shift() || "\n"
65 3 3 shift() || 76

or 3 conditions

line l !l&&r !l&&!r condition
121 0 0 3 $quote or $value =~ /[^\w!#\$&\+-\.\^`\{\|}~]/
122 0 0 0 $type or $ll_len + $v_len <= $BPL
149 0 0 0 $type or $ll_len + $v_len + 2 <= $BPL
522 0 0 9 not defined $str or $str eq ''