Branch Coverage

blib/lib/MogileFS/FID.pm
Criterion Covered Total %
branch 1 38 2.6


line true false branch
10 0 21 $ENV{'TESTING'} ? :
16 0 0 unless $fidid
38 0 0 unless $row->{'fidid'} = delete $row->{'fid'}
46 0 0 unless my $row = Mgd::get_store()->read_store->file_row_from_dmid_key($dmid, $key)
99 0 0 if $_[0]{'_loaded'}
101 0 0 unless $self->_tryload
106 0 0 if $_[0]{'_loaded'}
109 0 0 unless my $row = Mgd::get_store()->file_row_from_fidid($self->{'fidid'})
119 0 0 if %opts
121 0 0 if 'MogileFS::Config'->server_setting_cached('skip_devcount')
126 0 0 if ($no_lock) { }
137 0 0 if %opts
147 0 0 if %opts
158 0 0 if ($memc)
162 0 0 if ($memc and $fid->{'_loaded'})
183 0 0 if $self->{'_devids'}
221 0 0 unless my $alldev = Mgd::device_factory()->map_by_id
239 0 0 $dev ? :
272 0 0 unless my $row = Mgd::get_store()->get_checksum($self->{'fidid'})