Branch Coverage

blib/lib/File/ReadSimple.pm
Criterion Covered Total %
branch 0 32 0.0


line true false branch
17 0 0 unless open FILEREAD, "@_"
27 0 0 unless open FILEREADLINE, "$_[0]"
36 0 0 unless open FILEBULKREAD, "$_[0]"
48 0 0 unless open LASTLINES, "$_[0]"
59 0 0 unless open FIRSTLINES, "$_[0]"
72 0 0 unless open ODD, $_[0]
85 0 0 unless open EVEN, "$_[0]"
99 0 0 unless open FILEGREP, "$_[0]"
102 0 0 if $_ =~ /$_[1]/
109 0 0 unless open FILEGREPNO, "$_[0]"
113 0 0 if $_ =~ /$_[1]/
120 0 0 unless open GREPREPLACE, "$_[0]"
123 0 0 if ($_ =~ /$_[1]/)
137 0 0 unless open FILETAIL, "$_[0]"
142 0 0 if length $lines[-1] > 0
147 0 0 if ($start = !$end)