Condition Coverage

blib/lib/Net/FTP/RetrHandle.pm
Criterion Covered Total %
condition 24 47 51.0


and 3 conditions

line !l l&&!r l&&r condition
127 0 7 4 defined $$self{'_buf'} and $newpos > $curpos
7 4 0 defined $$self{'_buf'} and $newpos > $curpos and $newpos < $curpos + length($$self{'_buf'})
191 0 0 0 defined $$self{'curmode'} and $$self{'curmode'} eq $mode
192 0 0 0 defined $mode and $mode eq ':crlf'
271 11 0 5 $$self{'nextpos'} > $$self{'pos'} and $$self{'nextpos'} - $$self{'pos'} < $$self{'MaxSkipSize'}
375 12 0 0 $@ and $@ =~ /^Timeout /
441 231 0 0 ref $/ and ${$/;}->looks_like_number
490 230 0 0 $/ eq '' and substr($$self{'_buf'}, 0, 1) eq "\n"

or 2 conditions

line l !l condition
120 10 2 shift() || 0
121 9 3 shift() || 0
170 15 1 shift() || 0
171 5 11 shift() || 0
190 0 0 shift() || ':raw'
223 64 31 $offset ||= 0
253 0 20 $offset ||= 0

or 3 conditions

line l !l&&r !l&&!r condition
227 0 12 83 not defined $$self{'_buf'} or length $$self{'_buf'} <= 0
282 0 0 9 not defined $b or $b < 0
318 0 0 17 not defined $rb or $rb < 0