Branch Coverage

blib/lib/Bundler/MultiGem/Model/Gem.pm
Criterion Covered Total %
branch 6 24 25.0


line true false branch
43 1 6 unless (defined $key)
87 1 1 unless (defined $v)
99 1 1 unless (defined $v)
159 0 0 unless rename catdir($lib_dir, $self->name), catdir($lib_dir, $gem_vname)
168 0 0 if $F =~ /(rb|rake|Rakefile)$/u
199 0 0 unless open GEMSPEC, "<$gemspec"
200 0 0 unless open NEW_GEMSPEC, ">$new_gemspec"
203 0 0 if ($line =~ m[$n/version]u)
231 0 0 if (-e $main_module_file)
232 0 0 unless open ORIGINAL, "<$main_module_file"
237 0 0 unless open NEW_FILE, ">$new_main_module_file"
284 0 0 if (not -f $fp)