| line |
true |
false |
branch |
|
48
|
1 |
12 |
unless $$self{'root'} =~ /^(?:drop|sand)box$/ |
|
75
|
1 |
0 |
if $$self{'mode'} ne '<' |
|
78
|
0 |
0 |
if $self->EOF |
|
102
|
0 |
0 |
unless $response->content =~ /\A(?:Cannot|Failed)/ |
|
122
|
0 |
0 |
$bytes > $length ? : |
|
135
|
1 |
0 |
if $$self{'mode'} ne '<' |
|
138
|
0 |
0 |
if ($self->EOF) |
|
139
|
0 |
0 |
if wantarray |
|
143
|
0 |
0 |
unless $$self{'eof'} or defined $/ |
|
153
|
0 |
0 |
if (not wantarray and $length and defined $/) |
|
156
|
0 |
0 |
if (~$position) |
|
166
|
0 |
0 |
if $! |
|
167
|
0 |
0 |
if not $length or $bytes |
|
172
|
0 |
0 |
if ($length) |
|
174
|
0 |
0 |
if (wantarray and defined $/) |
|
187
|
0 |
0 |
if $position < length $_ |
|
209
|
1 |
0 |
if $$self{'mode'} ne '<' |
|
235
|
0 |
0 |
if $$self{'position'} < 0 |
|
244
|
1 |
0 |
if $$self{'mode'} ne '<' |
|
255
|
1 |
0 |
if $$self{'mode'} ne '>' |
|
258
|
0 |
0 |
if $offset and $offset != $$self{'offset'} + $$self{'length'} |
|
276
|
0 |
0 |
if $$self{'closed'} |
|
281
|
0 |
0 |
if ($mode eq '>') |
|
282
|
0 |
0 |
if ($$self{'length'} or not $$self{'upload_id'}) |
|
284
|
0 |
0 |
unless $self->__flush__ |
|
293
|
0 |
0 |
if $mode eq '>' |
|
304
|
0 |
0 |
unless $file |
|
323
|
0 |
0 |
unless $$self{'closed'} |
|
336
|
0 |
0 |
unless $$self{'path'} = $file |
|
339
|
0 |
0 |
if $mode eq '<' and not $self->__meta__ |
|
351
|
1 |
0 |
if $$self{'mode'} ne '<' |
|
364
|
0 |
0 |
$_[0]{'oauth2'} ? : |
|
376
|
0 |
0 |
if $$self{'closed'} |
|
379
|
0 |
0 |
unless $$self{'closed'} |
|
384
|
0 |
0 |
if $$self{'upload_id'} |
|
387
|
0 |
0 |
if $$self{'upload_id'} |
|
390
|
0 |
0 |
unless $$self{'closed'} |
|
395
|
0 |
0 |
if (not $$self{'closed'}) { } |
|
421
|
0 |
0 |
unless $response->content =~ /\A(?:Cannot|Failed)/ |
|
439
|
0 |
0 |
if $$self{'closed'} |
|
448
|
0 |
0 |
unless ($$self{'upload_id'}) |
|
466
|
0 |
0 |
if $$self{'hash'} |
|
488
|
0 |
0 |
unless $response->content =~ /\A(?:Cannot|Failed)/ |
|
504
|
0 |
0 |
if ($$meta{'is_deleted'}) |
|
517
|
0 |
0 |
if $$meta{'is_dir'} |
|
577
|
0 |
0 |
unless $response->content =~ /\A(?:Cannot|Failed)/ |
|
600
|
0 |
0 |
unless ref $handle eq 'GLOB' |
|
603
|
0 |
0 |
if $hash |
|
606
|
0 |
0 |
if (open $handle, '<', $path || '/' or $! != 21) |
|
618
|
0 |
0 |
unless ref $handle eq 'GLOB' |
|
621
|
0 |
0 |
unless close $handle |
|
650
|
0 |
0 |
unless $response->content =~ /\A(?:Cannot|Failed)/ |
|
688
|
0 |
0 |
unless ref $handle eq 'GLOB' |
|
693
|
0 |
0 |
if $$self{'mode'} eq '>' |