blib/lib/MIME/WordDecoder.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 32 | 43.7 |
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'} |
line | l | !l | condition |
---|---|---|---|
270 | 2 | 15 | $self->real_handler($self->guess_handler($charset)) || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
187 | 1 | 511 | 0 | $self->{'MWD_Map'}{'*'} ||= $Handler{'WARN'} |
188 | 0 | 1 | 511 | $self->{'MWD_Map'}{'raw'} ||= $self->{'MWD_Map'}{'US-ASCII'} |
272 | 23 | 0 | 97 | $self->{'MWD_Map'}{$charset} || $self->{'MWD_Map'}{'*'} |
303 | 972 | 0 | 0 | $Handler{$sub} || croak("bad named handler: $sub\n") |
15 | 28 | 972 | not $sub or ref $sub eq 'CODE' |