Branch Coverage

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


line true false branch
32 0 329 if ($^X =~ / jperl /imosx)
133 0 329 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 329 0 unless (-e "$filename.e")
182 0 329 unless Eeucjp::_open_a($fh, "$filename.e")
190 0 329 if (do { exists $ENV{'CHAR_NONBLOCK'} }) { }
213 0 0 if ($@)
222 0 329 unless seek $fh, 0, 0
230 0 329 unless close $fh
234 0 329 unless Eeucjp::_open_r($fh, "$filename.e")
236 0 329 if (do { exists $ENV{'CHAR_NONBLOCK'} }) { }
240 0 0 if ($@)
249 0 329 if ($^W)
252 0 329 if (defined $^I)
292 0 329 if ($^O =~ /\A (?: MSWin32 | NetWare | symbian | dos ) \z/mosx) { }
324 0 0 if ($word =~ / [ ] /mosx) { }
353 0 329 unless Eeucjp::_open_r($fh, $script)
356 0 329 unless close $fh
358 0 329 if (/^ use Eeucjp(?:(?>\s+)(?>[0-9\.]*))?(?>\s*); $/mosx) { }
364 0 329 if (s/\A(#!.+?\n)//mos)
371 0 329 if (s/\A(\@rem(?>\s*)=(?>\s*)'.*?'(?>\s*);\s*\n)//mos)
385 0 329 if (s/(.*^#(?>\s*)line(?>\s+)(?>[0-9]+)(?:(?>\s+)"(?:$q_char)+?")?\s*\n)//mos)
404 329 0 if (s/^ (?>\s*) use (?>\s+) (?: Char | EUCJP ) (?>\s*) ([^\x8E\x8F\xA1-\xFE;]*) ; \s* \n? $//mosx)
408 0 329 if ($list =~ s/\A ((?>[0-9]+)\.(?>[0-9]+)) \.0 (?>\s*) //mosx) { }
0 329 elsif ($list =~ s/\A ((?>[0-9]+)(?>\.[0-9]*)) (?>\s*) //mosx) { }
410 0 0 if ($version ne $EUCJP::VERSION)
413 0 0 if (scalar keys %file >= 2)
432 0 0 if ($version > $EUCJP::VERSION)
438 0 329 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