Branch Coverage

lib/IO/Lines.pm
Criterion Covered Total %
branch 12 18 66.6


line true false branch
60 2 27 if (not defined $/) { }
27 0 elsif ($/ eq "\n") { }
64 26 1 if (not *$self->{'Pos'}) { }
89 0 2 unless wantarray
91 2 0 if (defined $/ and $/ eq "\n") { }
112 0 4 if ($Pos)
129 0 7 if (defined $\ and $\ ne "\n")
135 0 7 unless @lines
139 4 3 if (@{*$self->{'AR'};} and not *$self->{'AR'}[-1] =~ /\n\Z/)