Condition Coverage

blib/lib/Email/MIME/ContentType.pm
Criterion Covered Total %
condition 30 48 62.5


and 3 conditions

line !l l&&!r l&&r condition
95 0 2 83 defined $ct and length $ct
103 0 0 0 $STRICT_PARAMS and $ct =~ s[^($re_token_non_strict)/($re_token_non_strict)][]
115 37 4 42 $STRICT_PARAMS and length $ct
41 42 0 $STRICT_PARAMS and length $ct and not $ct =~ /^;/
138 0 2 32 defined $cd and length $cd
144 0 0 0 $STRICT_PARAMS and $cd =~ s/^($re_token_non_strict)//
156 10 5 17 $STRICT_PARAMS and length $cd
15 17 0 $STRICT_PARAMS and length $cd and not $cd =~ /^;/
251 1 2 0 $needs_quote and grep /$re_invalid_for_quoted_value/, @continuous_value
264 3 3 4 $value =~ /\P{ASCII}/ and length(my $oneparameter = "; $key*=" . join('', @continuous_value)) <= 78
320 32 0 0 $level != 0 and $STRICT_PARAMS
348 0 0 35 defined $attribs->{$_} and $attribs->{$_} =~ /^$re_exvalue$/
368 14 101 0 length $_ and not $_ =~ /^;/
372 2 0 0 $STRICT_PARAMS and do { carp("Missing semicolon before parameter '${_}'"); return $attribs }

or 3 conditions

line l !l&&r !l&&!r condition
230 19 1 18 not $ascii_value =~ /^(?:$re_token)*$/ or $ascii_value =~ /'/
438 97 82 6 not length $_ or /^;/