Branch Coverage

lib/Mailru/Cloud.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
30 0 0 $rename ? :
32 0 0 unless (-f $upload_file)
36 0 0 unless ($path =~ m[/$])
62 0 0 if ($code ne '200')
67 0 0 unless my($file_hash, $size) = $self->__upload_file($request, $upload_file)
90 0 0 if ($code eq '200')
110 0 0 unless ($FL)
111 0 0 unless open $FL, ">$file"
117 0 0 if ($code ne '200')
120 0 0 if $FL
147 0 0 if ($code eq '200')
150 0 0 if ($code eq '400')
181 0 0 if ($code eq '200')
209 0 0 if ($code eq '200')
225 0 0 if ($res->is_success)
235 0 0 if ($item->{'weblink'})
242 0 0 if ($code eq '404')
272 0 0 if ($code ne '200')
291 0 0 unless my $sock = 'IO::Socket::SSL'->new('PeerAddr', $host, 'PeerPort', $port, 'Proto', 'tcp')
337 0 0 unless open my $FH, "<$file"
349 0 0 if ($answer[0] =~ /201/)