Condition Coverage

blib/lib/MIME/WordDecoder.pm
Criterion Covered Total %
condition 14 32 43.7


and 3 conditions

line !l l&&!r l&&r condition
442 0 0 0 /\G( ([\x00-\x7F]) | # 0xxxxxxx ([\xC0-\xDF] [\x80-\xBF]) | # 110yyyyy 10xxxxxx ([\xE0-\xEF] [\x80-\xBF]{2}) | # 1110zzzz 10yyyyyy 10xxxxxx ([\xF0-\xF7] [\x80-\xBF]{3}) | # 11110uuu 10uuzzzz 10yyyyyy 10xxxxxx . # error; synch )/cgsx and $1 ne ''
450 0 0 0 defined $3 and $latin1
470 0 0 0 /\G( ( \x00 ([\x00-\x7F])) | # 00000000 0xxxxxxx ( \x00 ([\x80-\xFF])) | # 00000000 1xxxxxxx ( [^\x00] [\x00-\xFF]) | # etc ) /cgsx and $1 ne ''
477 0 0 0 defined $4 and $latin1
517 0 1 1 $charset =~ /^ISO[-_]?8859[-_](\d+)$/ and $1 eq $self->{'MWDI_Num'}

or 2 conditions

line l !l condition
270 2 14 $self->real_handler($self->guess_handler($charset)) || 0

or 3 conditions

line l !l&&r !l&&!r condition
187 1 475 0 $self->{'MWD_Map'}{'*'} ||= $Handler{'WARN'}
188 0 1 475 $self->{'MWD_Map'}{'raw'} ||= $self->{'MWD_Map'}{'US-ASCII'}
272 23 0 96 $self->{'MWD_Map'}{$charset} || $self->{'MWD_Map'}{'*'}
303 904 0 0 $Handler{$sub} || croak("bad named handler: $sub\n")
14 26 904 not $sub or ref $sub eq 'CODE'