Condition Coverage

blib/lib/Text/CSV/Encoded/Coder/Encode.pm
Criterion Covered Total %
condition 10 18 55.5


and 3 conditions

line !l l&&!r l&&r condition
33 0 26 46 $self->{'automatic_UTF8'} and $encoding =~ /utf-?8/i
44 0 32 10 $self->{'automatic_UTF8'} and $encoding =~ /utf-?8/i

or 2 conditions

line l !l condition
48 32 0 $self->find_encoding($encoding) || (return)
57 24 0 $self->find_encoding($encoding) || (return)
66 137 0 $_[0] or 'utf8'

or 3 conditions

line l !l&&r !l&&!r condition
66 19 0 0 &Encode::find_encoding(scalar($_[0] || 'utf8')) || Carp::croak("Not found such an encoding name '$_[0]'")
118 19 0 $EncoderCache{$_[0] or 'utf8'} ||= &Encode::find_encoding(scalar($_[0] || 'utf8')) || Carp::croak("Not found such an encoding name '$_[0]'")