Branch Coverage

blib/lib/Yars.pm
Criterion Covered Total %
branch 10 28 35.7


line true false branch
26 211 867 unless defined $stream
41 890 188 unless my $md5_b64 = $content->headers->header('Content-MD5')
46 43 105 unless my $disk = $tools->disk_for($md5)
48 5 100 unless (-d $tmpdir)
49 0 105 unless -w $tmpdir
70 0 31 if (my $time = $self->config->{'test_expiration'})
76 0 0 if $@
88 0 0 unless $self->SUPER::sanity_check
94 0 0 unless (defined $url)
105 0 0 unless ($server->{'url'})
110 0 0 if (@{$server->{'disks'};} > 0) { }
115 0 0 unless ($disk->{'root'})
120 0 0 if (@{$disk->{'buckets'};}) { }
124 0 0 if ($buckets{$bucket}) { }