Condition Coverage

blib/lib/Tie/FileSection.pm
Criterion Covered Total %
condition 36 43 83.7


and 2 conditions

line l !l condition
130 36 0 0 do { scalar @$linebuff < abs $l if $l < 0 } && do { return }

and 3 conditions

line !l l&&!r l&&r condition
16 14 0 12 not $FH and defined $opts{'filename'}
48 44 52 12 $f >= 0 and $l > 0
96 12 0 $f >= 0 and $l > 0 and $f > $l
51 64 28 16 $f < 0 and $l < 0
92 16 0 $f < 0 and $l < 0 and $l < $f
55 64 28 16 $f < 0 and $l > 0
59 32 24 36 $self->{'init'} and 0 <= $l
56 30 6 $self->{'init'} and 0 <= $l and $l >= $self->{'curr_line'}
65 12 8 12 $l < 0 and scalar @{$self->{'line_buffer'};} < abs $l
94 10 0 6 --$i and defined scalar readline $fh
111 16 6 4 $f > 0 and $l < 0

or 2 conditions

line l !l condition
12 22 4 $opts{'first_line'} // 0
13 16 10 $opts{'last_line'} // 0

or 3 conditions

line l !l&&r !l&&!r condition
11 12 14 0 $opts{'filename'} or $opts{'file'}