Branch Coverage

blib/lib/MogileFS/DevFID.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
10 0 0 ref $devarg ? :
0 0 ref $devarg ? :
0 0 ref $fidarg ? :
0 0 ref $fidarg ? :
41 0 0 grep({$_ == $self->{'devid'};} $fid->devids) ? :
67 0 0 if ($self->device->should_read_from) { }
76 0 0 if $cb
87 0 0 unless $self->device->should_read_from
103 0 0 unless defined $disk_size
104 0 0 if $disk_size == -1
117 0 0 if ($len < 10) { }
132 0 0 unless my $dev = $self->device
133 0 0 unless my $host = $dev->host
137 0 0 $use_get_port ? :
144 0 0 unless $self->{'fidid'}
145 0 0 unless $self->{'devid'}
148 0 0 if ($sto->add_fidid_to_devid($self->{'fidid'}, $self->{'devid'})) { }
149 0 0 if (my $memc = 'MogileFS::Config'->memcache_client)
166 0 0 unless my $httpfile = 'MogileFS::HTTPFile'->at($self->url)
172 0 0 if $opts{'ignore_missing'}
174 0 0 unless $httpfile->delete(%delete_opts)