Branch Coverage

blib/lib/Locale/Recode/_Conversions.pm
Criterion Covered Total %
branch 31 46 67.3


line true false branch
279 1344 445 if exists $Locale::Recode::_Conversions::conversions->{$encoding}
280 0 445 if exists $Locale::Recode::_Conversions::optional_conversions->{$encoding}
286 34 411 if $resolved
295 0 1098 unless defined $encoding and length $encoding
300 411 687 unless $mimename
303 174 513 if (exists $Locale::Recode::_Conversions::optional_conversions->{$mimename})
304 138 36 unless (defined $has_encode)
308 138 0 if ($has_encode)
317 174 0 if ($has_encode)
321 174 0 unless ($@)
328 687 0 if exists $Locale::Recode::_Conversions::conversions->{$mimename}
350 273 276 'INTERNAL' eq uc $from ? :
351 138 411 'INTERNAL' eq uc $to ? :
353 0 549 unless $from and $to
355 0 549 if $from eq $to
360 273 276 unless ($from_module)
361 273 0 if ('INTERNAL' eq $from) { }
362 0 273 unless $from_module = $to_module
368 138 411 unless ($to_module)
369 138 0 if ('INTERNAL' eq $to) { }
370 0 138 unless $to_module = $from_module
376 549 0 if ($from_module eq $to_module or $to eq 'INTERNAL' or $to eq 'UTF-8') { }
0 0 elsif ($from eq 'INTERNAL') { }