Condition Coverage

blib/lib/File/Dropbox.pm
Criterion Covered Total %
condition 7 59 11.8


and 2 conditions

line l !l condition
284 0 0 @{$self;}{'closed', 'mode'} = (1, '') and return 0

and 3 conditions

line !l l&&!r l&&r condition
153 0 0 0 not wantarray and $length
0 0 0 not wantarray and $length and defined $/
174 0 0 0 wantarray and defined $/
258 0 0 0 $offset and $offset != $$self{'offset'} + $$self{'length'}
339 0 0 0 $mode eq '<' and not $self->__meta__

or 2 conditions

line l !l condition
45 2 11 $$self{'chunk'} //= 4194304
46 1 12 $$self{'root'} //= 'sandbox'
51 1 11 $$self{'furlopts'} //= {}
78 0 0 $_[1] //= ''
0 0 $offset // 0
90 0 0 $length || 1
124 0 0 $_[1] //= ''
0 0 $offset // 0
265 0 0 $self->__flush__ or return 0
307 0 0 $mode ||= '<'
390 0 0 $$self{'offset'} || 0
606 0 0 $path || '/'

or 3 conditions

line l !l&&r !l&&!r condition
43 0 0 13 ref $_[0] || $_[0]
143 0 0 0 $$self{'eof'} or defined $/
167 0 0 0 not $length or $bytes
261 0 0 0 $$self{'offset'} //= $offset
282 0 0 0 $$self{'length'} or not $$self{'upload_id'}
606 0 0 0 open $handle, '<', $path || '/' or $! != 21