Branch Coverage

blib/lib/Latin1.pm
Criterion Covered Total %
branch 28 72 38.8


line true false branch
32 0 204 if ($^X =~ / jperl /imosx)
52 0 612 if ($] < 5.006) { }
138 0 204 if (-e "$filename.e")
139 0 0 if (exists $ENV{'CHAR_DEBUG'}) { }
0 0 elsif (-z "$filename.e") { }
179 0 0 if ($mtime_escape < $mtime_source or $mtime_escape < $mtime_filter)
185 204 0 unless (-e "$filename.e")
187 0 204 unless Elatin1::_open_a($fh, "$filename.e")
195 0 204 if (do { exists $ENV{'CHAR_NONBLOCK'} }) { }
218 0 0 if ($@)
227 0 204 unless seek $fh, 0, 0
235 0 204 unless close $fh
239 0 204 unless Elatin1::_open_r($fh, "$filename.e")
241 0 204 if (do { exists $ENV{'CHAR_NONBLOCK'} }) { }
245 0 0 if ($@)
254 0 204 if ($^W)
257 0 204 if (defined $^I)
297 0 204 if ($^O =~ /\A (?: MSWin32 | NetWare | symbian | dos ) \z/mosx) { }
329 0 0 if ($word =~ / [ ] /mosx) { }
358 0 204 unless Elatin1::_open_r($fh, $script)
361 0 204 unless close $fh
363 0 204 if (/^ use Elatin1(?:(?>\s+)(?>[0-9\.]*))?(?>\s*); $/mosx) { }
369 0 204 if (s/\A(#!.+?\n)//mos)
376 0 204 if (s/\A(\@rem(?>\s*)=(?>\s*)'.*?'(?>\s*);\s*\n)//mos)
390 0 204 if (s/(.*^#(?>\s*)line(?>\s+)(?>[0-9]+)(?:(?>\s+)"(?:$q_char)+?")?\s*\n)//mos)
409 204 0 if (s/^ (?>\s*) use (?>\s+) (?: Char | Latin1 ) (?>\s*) ([^;]*) ; \s* \n? $//mosx)
413 0 204 if ($list =~ s/\A ((?>[0-9]+)\.(?>[0-9]+)) \.0 (?>\s*) //mosx) { }
0 204 elsif ($list =~ s/\A ((?>[0-9]+)(?>\.[0-9]*)) (?>\s*) //mosx) { }
415 0 0 if ($version ne $Latin1::VERSION)
418 0 0 if (scalar keys %file >= 2)
437 0 0 if ($version > $Latin1::VERSION)
443 3 201 unless ($list =~ /\A (?>\s*) \z/mosx)
447 0 3 if /\A ord \z/mosx
448 0 3 if /\A ord \z/mosx
449 0 3 if /\A reverse \z/mosx
450 3 0 if /\A getc \z/mosx