Branch Coverage

blib/lib/File/ReadBackwards.pm
Criterion Covered Total %
branch 18 24 75.0


line true false branch
31 0 2 if ($^O =~ /win32/i or $^O =~ /vms/i) { }
0 2 elsif ($^O =~ /mac/i) { }
66 0 70 unless defined $filename
77 0 70 unless sysopen $handle, $filename, 0
82 0 70 unless my $seek_pos = sysseek($handle, 0, 2)
118 1 41525 unless $lines_ref
124 41441 196 if (@{$lines_ref;} > 1)
129 20719 20722 if $$self{'is_crlf'}
141 84 112 if ($seek_pos == 0)
148 24 60 if @{$lines_ref;} and $$self{'is_crlf'}
175 46 66 if @{$lines_ref;}
181 0 112 $$self{'sep_is_regex'} ? :