|  line  | 
 true  | 
 false  | 
 branch  | 
 
| 
57
 | 
 0  | 
 0  | 
 unless @{$queue_todo;}  | 
 
| 
58
 | 
 0  | 
 0  | 
 unless $self->validate_dbh  | 
 
| 
63
 | 
 0  | 
 0  | 
 if ($fid->exists) { }  | 
 
| 
70
 | 
 0  | 
 0  | 
 unless @fids  | 
 
| 
74
 | 
 0  | 
 0  | 
 if (defined $alg and $alg eq 'off') { }  | 
 
| 
77
 | 
 0  | 
 0  | 
 'MogileFS::Checksum'->valid_alg($alg) ? :  | 
 
| 
89
 | 
 0  | 
 0  | 
 unless ($self->check_fid($fid))  | 
 
| 
116
 | 
 0  | 
 0  | 
 unless ($sto->should_begin_replicating_fidid($fid->id))  | 
 
| 
121
 | 
 0  | 
 0  | 
 unless ($fid->exists)  | 
 
| 
131
 | 
 0  | 
 0  | 
 unless (defined $fixed)  | 
 
| 
135
 | 
 0  | 
 0  | 
 unless $fixed  | 
 
| 
143
 | 
 0  | 
 0  | 
 unless ($fid->devids)  | 
 
| 
154
 | 
 0  | 
 0  | 
 unless ($fid->devids_meet_policy)  | 
 
| 
166
 | 
 0  | 
 0  | 
 if ($fid->class->hashtype and not $fid->checksum)  | 
 
| 
173
 | 
 0  | 
 0  | 
 if $$self{'opt_nostat'}  | 
 
| 
175
 | 
 0  | 
 0  | 
 if ($$self{'opt_checksum'} and $$self{'opt_checksum'} ne 'off')  | 
 
| 
184
 | 
 0  | 
 0  | 
 unless (defined $disk_size)  | 
 
| 
188
 | 
 0  | 
 0  | 
 if ($dev->dstate->is_perm_dead)  | 
 
| 
196
 | 
 0  | 
 0  | 
 if $disk_size == $fid->length  | 
 
| 
202
 | 
 0  | 
 0  | 
 if ($rv) { }  | 
 
| 
 | 
 0  | 
 0  | 
 elsif ($err eq 'stalled') { }  | 
 
| 
 | 
 0  | 
 0  | 
 elsif ($err eq 'needfix') { }  | 
 
| 
203
 | 
 0  | 
 0  | 
 $fid->class->hashtype && !($$self{'opt_checksum'} && $$self{'opt_checksum'} eq 'off') ? :  | 
 
| 
224
 | 
 0  | 
 0  | 
 if &$cb($df, $size)  | 
 
| 
263
 | 
 0  | 
 0  | 
 if $already_checked{$dev->id}++  | 
 
| 
266
 | 
 0  | 
 0  | 
 if ($dev->dstate->is_perm_dead)  | 
 
| 
272
 | 
 0  | 
 0  | 
 unless defined $disk_size  | 
 
| 
274
 | 
 0  | 
 0  | 
 if ($disk_size == $fid->length)  | 
 
| 
275
 | 
 0  | 
 0  | 
 if ($alg and $alg ne 'off')  | 
 
| 
277
 | 
 0  | 
 0  | 
 unless (defined $digest)  | 
 
| 
282
 | 
 0  | 
 0  | 
 if ($digest eq '-1')  | 
 
| 
283
 | 
 0  | 
 0  | 
 unless ($is_desperate_mode)  | 
 
| 
294
 | 
 0  | 
 0  | 
 if $is_desperate_mode  | 
 
| 
300
 | 
 0  | 
 0  | 
 unless ($is_desperate_mode)  | 
 
| 
301
 | 
 0  | 
 0  | 
 if ($disk_size == -1) { }  | 
 
| 
316
 | 
 0  | 
 0  | 
 unless (@good_devs)  | 
 
| 
328
 | 
 0  | 
 0  | 
 unless (@good_devs)  | 
 
| 
346
 | 
 0  | 
 0  | 
 if $alg and $alg ne 'off'  | 
 
| 
350
 | 
 0  | 
 0  | 
 unless ($fid->devids_meet_policy)  | 
 
| 
406
 | 
 0  | 
 0  | 
 unless my $alg = $fid->class->hashname  | 
 
| 
409
 | 
 0  | 
 0  | 
 $cur_checksum ? :  | 
 
| 
420
 | 
 0  | 
 0  | 
 if (scalar @all_checksums == 1) { }  | 
 
| 
 | 
 0  | 
 0  | 
 elsif ($cur_checksum) { }  | 
 
| 
 | 
 0  | 
 0  | 
 elsif ($$self{'opt_checksum'}) { }  | 
 
| 
422
 | 
 0  | 
 0  | 
 if ($cur_checksum) { }  | 
 
| 
423
 | 
 0  | 
 0  | 
 if ($$cur_checksum{'checksum'} ne $disk_checksum)  | 
 
| 
427
 | 
 0  | 
 0  | 
 if ($alg ne $cur_checksum->hashname) { }  | 
 
| 
437
 | 
 0  | 
 0  | 
 if ($hashtype) { }  | 
 
| 
455
 | 
 0  | 
 0  | 
 if ($good and scalar @$good > 0) { }  | 
 
| 
479
 | 
 0  | 
 0  | 
 if 'MogileFS::Config'->server_setting_cached('skip_devcount')  | 
 
| 
482
 | 
 0  | 
 0  | 
 if scalar $fid->devids == $fid->devcount  |