Branch Coverage

lib/Jacode4e.pm
Criterion Covered Total %
branch 30 48 62.5


line true false branch
19 0 61 if $] < "5.006"
735 0 25800 if (ref $_[0] ne "SCALAR")
738 0 25800 unless (exists $x{$OUTPUT_encoding})
741 0 25800 unless (exists $x{$INPUT_encoding})
747 23442 2358 if ($INPUT_encoding =~ /^(?:cp932x|cp932|cp932ibm|cp932nec|sjis2004|cp00930|keis78|keis83|keis90|jef|jef9p|jipsj|jipse|letsj)$/)
748 22879 563 if (defined $option->{'INPUT_LAYOUT'})
751 22879 0 if ($INPUT_LAYOUT =~ /^[SD]*$/) { }
762 23084 3132 if (defined $INPUT_LAYOUT) { }
769 26112 104 if (not defined $last_ctype or $ctype ne $last_ctype)
770 256 25856 if ($option->{'OUTPUT_SHIFTING'})
777 26216 0 if (defined $input_octets)
778 71 26145 if (defined $option->{'OVERRIDE_MAPPING'}{$input_octets}) { }
783 3629 22516 if (not defined $char) { }
567 21949 elsif ($char eq "\363\260\204\200") { }
784 54 3575 if (defined $option->{'GETA'}) { }
792 50 517 if (defined $option->{'SPACE'}) { }
801 79 21870 if (not defined $output_octets or $output_octets eq '') { }
802 77 2 if (defined $option->{'GETA'}) { }
828 0 0 if ($version ne $Jacode4e::VERSION)
837 0 0 if ($0 eq __FILE__ and defined $ARGV[0] and $ARGV[0] eq "--dumptable")
847 0 0 unless open FILE, ">$0-$Jacode4e::VERSION.TABLE.\U$encoding\E.txt"
857 0 0 if (grep((!/\343\200\200/), @line) >= 1)
871 0 0 unless open FILE, ">$0-$Jacode4e::VERSION.TABLE.CP932X.txt"
886 0 0 if (grep((!/\343\200\200/), @line) >= 1)