Branch Coverage

blib/lib/Encode/Encoder.pm
Criterion Covered Total %
branch 13 20 65.0


line true false branch
20 1 513 if ($encname) { }
21 0 513 &Encode::is_utf8($data) ? :
24 0 1 unless my $obj = &find_encoding($encname)
39 1 1 if (defined $data) { }
50 1 1 if ($encname) { }
51 0 1 unless my $obj = &find_encoding($encname)
64 0 256 unless my $obj = &find_encoding($encname)
77 0 257 unless my $type = ref $self
81 0 257 unless my $obj = &find_encoding($myname)
84 0 257 if ($self->{'encoding'}) { }