Branch Coverage

lib/Jacode4e/RoundTrip.pm
Criterion Covered Total %
branch 27 48 56.2


line true false branch
20 0 28 if $] < "5.006"
844 0 2774071 if (ref $_[0] ne "SCALAR")
847 0 2774071 unless (exists $x{$OUTPUT_encoding})
850 0 2774071 unless (exists $x{$INPUT_encoding})
856 1653042 1121029 if ($INPUT_encoding =~ /^(?:cp932x|cp932|cp932ibm|cp932nec|sjis2004|cp00930|keis78|keis83|keis90|jef|jef9p|jipsj|jipse|letsj)$/)
857 1653009 33 if (defined $option->{'INPUT_LAYOUT'})
860 1653009 0 if ($INPUT_LAYOUT =~ /^[SD]*$/) { }
871 1653185 1121153 if (defined $INPUT_LAYOUT) { }
878 2774234 104 if (not defined $last_ctype or $ctype ne $last_ctype)
879 76 2774158 if ($option->{'OUTPUT_SHIFTING'})
886 2774338 0 if (defined $input_octets)
887 70 2774268 if (defined $option->{'OVERRIDE_MAPPING'}{$input_octets}) { }
892 3596 2770672 if (not defined $char) { }
451 2770221 elsif ($char eq "\363\260\204\200") { }
893 21 3575 if (defined $option->{'GETA'}) { }
901 21 430 if (defined $option->{'SPACE'}) { }
910 0 2770221 if (not defined $output_octets or $output_octets eq '') { }
911 0 0 if (defined $option->{'GETA'}) { }
937 0 0 if ($version ne $Jacode4e::RoundTrip::VERSION)
946 0 0 if ($0 eq "/root/.cpan/build/Jacode4e-RoundTrip-2.13.81.14-0/t/../lib/Jacode4e/RoundTrip.pm" and defined $ARGV[0] and $ARGV[0] eq "--dumptable")
956 0 0 unless open FILE, ">$0-$Jacode4e::RoundTrip::VERSION.TABLE.\U$encoding\E.txt"
966 0 0 if (grep((!/\343\200\200/), @line) >= 1)
980 0 0 unless open FILE, ">$0-$Jacode4e::RoundTrip::VERSION.TABLE.CP932X.txt"
995 0 0 if (grep((!/\343\200\200/), @line) >= 1)