Branch Coverage

lib/Jacode4e.pm
Criterion Covered Total %
branch 29 38 76.3


line true false branch
133 0 27 if $] < 5.006
878 0 22825 if (ref $_[0] ne 'SCALAR')
881 0 22825 unless (exists $_{$OUTPUT_encoding})
884 0 22825 unless (exists $_{$INPUT_encoding})
890 22674 151 if ($INPUT_encoding =~ /^(?:cp932x|cp932|cp932ibm|cp932nec|sjis2004|cp00930|keis78|keis83|keis90|jef|jef9p|jipsj|jipse|letsj)$/)
891 22641 33 if (defined $option->{'INPUT_LAYOUT'})
894 22641 0 if ($INPUT_LAYOUT =~ /^[SD]*$/) { }
905 22817 275 if (defined $INPUT_LAYOUT) { }
912 22988 104 if (not defined $last_ctype or $ctype ne $last_ctype)
913 76 22912 if ($option->{'OUTPUT_SHIFTING'})
920 23092 0 if (defined $input_octets)
921 70 23022 if (defined $option->{'OVERRIDE_MAPPING'}{$input_octets}) { }
926 3596 19426 if (not defined $char) { }
208 19218 elsif ($char eq "\363\260\204\200") { }
927 21 3575 if (defined $option->{'GETA'}) { }
935 21 187 if (defined $option->{'SPACE'}) { }
944 2 19216 if (not defined $output_octets or $output_octets eq '') { }
945 0 2 if (defined $option->{'GETA'}) { }
971 0 0 if ($version ne $Jacode4e::VERSION)