Branch Coverage

blib/lib/Yars/Command/yars_balance.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
24 0 0 if ($child->is_dir) { }
43 0 0 if ($count == 0)
61 0 0 unless rename "$filename", "$to"
66 0 0 unless unlink "$filename"
68 0 0 $opt->{'backup'} ? :
78 0 0 if ("$expected_file" ne "$filename")
95 0 0 if (defined $expected_dir) { }
100 0 0 if $expected_dir eq $dir->parent
107 0 0 unless $md5
118 0 0 unless ($from->copy_to($tmp))
127 0 0 if ($md5 ne $md5_verify)
134 0 0 unless ($tmp->move_to($to))
149 0 0 unless $md5
151 0 0 unless ($client->upload('--nostash', 1, "$file"))
163 0 0 if ("$new_location" eq "$old_location")
189 0 0 unless &GetOptions('threads|t=i', \$threads, 'backup|b', \$backup, 'help|h', sub { pod2usage({'-verbose', 2}); } , 'version', sub { say 'Yars version ', $Yars::Command::yars_fast_balance::VERSION // 'dev'; exit 1; } )
205 0 0 if (my $res = $tx->success) { }
213 0 0 if ($my_bucket_map{$key} ne $other)
230 0 0 unless $yars->config->url eq $server->{'url'}
237 0 0 if ($threads > 1)
240 0 0 if (eval { do { require Parallel::ForkManager; 1 } }) { }