Condition Coverage

blib/lib/Array/LineReader.pm
Criterion Covered Total %
condition 13 20 65.0


and 3 conditions

line !l l&&!r l&&r condition
271 0 1 1 $index >= 0 && $index < $self->FETCHSIZE
320 1130 0 1225 $length and $fh->read($line, $length)
323 0 1130 37134 defined($c = $fh->getc) and not $c =~ /^[\x0A\x0D]$/
332 14 1116 0 defined $nl and $nl eq $c || !($nl =~ /^[\x0A\x0D]$/)
14 0 0 defined $nl and $nl ne $c

or 2 conditions

line l !l condition
317 1225 1130 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
332 232 884 0 $nl eq $c || !($nl =~ /^[\x0A\x0D]$/)