Condition Coverage

blib/lib/Jcode/CP932.pm
Criterion Covered Total %
condition 18 37 48.6


and 3 conditions

line !l l&&!r l&&r condition
107 2 0 1 $euc > $sjis && $euc > $utf8
0 1 1 $sjis > $euc && $sjis > $utf8
0 0 1 $utf8 > $euc && $utf8 > $sjis
152 0 0 172 defined $$str_ref and &Encode::is_utf8($$str_ref)
163 0 0 25 defined $$str_ref and &Encode::is_utf8($$str_ref)

or 2 conditions

line l !l condition
107 50 0 $code || getcode($r_str) || 'euc'
202 0 $code || getcode($r_str) || 'euc'

or 3 conditions

line l !l&&r !l&&!r condition
53 70 0 0 $new_jname2e{$enc} || $enc
107 40 10 0 $jname2e{$icode} || $icode
0 0 50 &Encode::is_utf8($$r_str) or $icode eq 'binary'
51 0 0 defined $icode or $icode = getcode($r_str)
116 86 0 $jname2e{$icode} || $icode
8 0 194 &Encode::is_utf8($$r_str) or $icode eq 'binary'