Branch Coverage

blib/lib/UTF2.pm
Criterion Covered Total %
branch 22 70 31.4


line true false branch
32 0 306 if ($^X =~ / jperl /imosx)
133 0 306 if (-e "$filename.e")
134 0 0 if (exists $ENV{'CHAR_DEBUG'}) { }
0 0 elsif (-z "$filename.e") { }
174 0 0 if ($mtime_escape < $mtime_source or $mtime_escape < $mtime_filter)
180 306 0 unless (-e "$filename.e")
182 0 306 unless Eutf2::_open_a($fh, "$filename.e")
190 0 306 if (do { exists $ENV{'CHAR_NONBLOCK'} }) { }
213 0 0 if ($@)
222 0 306 unless seek $fh, 0, 0
230 0 306 unless close $fh
234 0 306 unless Eutf2::_open_r($fh, "$filename.e")
236 0 306 if (do { exists $ENV{'CHAR_NONBLOCK'} }) { }
240 0 0 if ($@)
249 0 306 if ($^W)
252 0 306 if (defined $^I)
292 0 306 if ($^O =~ /\A (?: MSWin32 | NetWare | symbian | dos ) \z/mosx) { }
324 0 0 if ($word =~ / [ ] /mosx) { }
353 0 306 unless Eutf2::_open_r($fh, $script)
356 0 306 unless close $fh
358 0 306 if (/^ use Eutf2(?:(?>\s+)(?>[0-9\.]*))?(?>\s*); $/mosx) { }
364 0 306 if (s/\A(#!.+?\n)//mos)
371 0 306 if (s/\A(\@rem(?>\s*)=(?>\s*)'.*?'(?>\s*);\s*\n)//mos)
385 0 306 if (s/(.*^#(?>\s*)line(?>\s+)(?>[0-9]+)(?:(?>\s+)"(?:$q_char)+?")?\s*\n)//mos)
404 306 0 if (s/^ (?>\s*) use (?>\s+) (?: Char | UTF2 ) (?>\s*) ([^\x80-\xFF;]*) ; \s* \n? $//mosx)
408 0 306 if ($list =~ s/\A ((?>[0-9]+)\.(?>[0-9]+)) \.0 (?>\s*) //mosx) { }
0 306 elsif ($list =~ s/\A ((?>[0-9]+)(?>\.[0-9]*)) (?>\s*) //mosx) { }
410 0 0 if ($version ne $UTF2::VERSION)
413 0 0 if (scalar keys %file >= 2)
432 0 0 if ($version > $UTF2::VERSION)
438 0 306 unless ($list =~ /\A (?>\s*) \z/mosx)
442 0 0 if /\A ord \z/mosx
443 0 0 if /\A ord \z/mosx
444 0 0 if /\A reverse \z/mosx
445 0 0 if /\A getc \z/mosx