Branch Coverage

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


line true false branch
30 0 0 $rename ? :
32 0 0 unless (-f $upload_file)
36 0 0 unless ($path =~ m[/$])
42 0 0 unless my($file_hash, $size) = $self->__upload_file($request, $upload_file)
61 0 0 if ($code eq '200')
81 0 0 unless ($FL)
82 0 0 unless open $FL, ">$file"
88 0 0 if ($code ne '200')
91 0 0 if $FL
115 0 0 if ($code eq '200')
118 0 0 if ($code eq '400')
145 0 0 if ($code eq '200')
168 0 0 if ($code eq '200')
183 0 0 if ($res->is_success)
193 0 0 if ($item->{'weblink'})
200 0 0 if ($code eq '404')
225 0 0 if ($code ne '200')
243 0 0 unless my $sock = 'IO::Socket::SSL'->new('PeerAddr', $host, 'PeerPort', $port, 'Proto', 'tcp')
289 0 0 unless open my $FH, "<$file"
301 0 0 if ($answer[0] =~ /201/)