Condition Coverage

blib/lib/Email/MIME/Encode.pm
Criterion Covered Total %
condition 10 12 83.3


and 3 conditions

line !l l&&!r l&&r condition
24 40 2 2 &Scalar::Util::blessed($val) and $val->can("as_mime_string")
47 50 26 24 defined $val && $val =~ /(?:\P{ASCII}|=\?|[^\s]{79,}|^\s+|\s+$)/s

or 3 conditions

line l !l&&r !l&&!r condition
36 11 0 9 _needs_mime_encode($val) or $val =~ /[^\s]{$min_wrap_length,}/
52 13 0 67 _needs_mime_encode($val) || defined $val && $val =~ /[:;,]/