Branch Coverage

blib/lib/Latin8.pm
Criterion Covered Total %
branch 27 70 38.5


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