| line |
true |
false |
branch |
|
39
|
0 |
0 |
unless $self->archive_type |
|
40
|
0 |
0 |
if $self->rootdir |
|
41
|
0 |
0 |
unless $self->_make_base |
|
42
|
0 |
0 |
unless $self->_check_db |
|
44
|
0 |
0 |
unless $self->gemset |
|
50
|
0 |
0 |
unless $self->rootdir |
|
52
|
0 |
0 |
unless (-d $self->rootdir) |
|
69
|
0 |
0 |
unless -f 'File::Spec'->catfile($self->rootdir, 'var', 'db.yml') |
|
80
|
0 |
0 |
if (-f 'File::Spec'->catfile($self->rootdir, 'var', 'installed.yml')) |
|
86
|
0 |
0 |
if (-x 'File::Spec'->catfile($self->rootdir, 'rubies', $major, $ruby, 'bin', 'ruby')) |
|
113
|
0 |
0 |
if ($res->is_success) |
|
123
|
0 |
0 |
unless %$rubies |
|
134
|
0 |
0 |
unless $self->ruby_version |
|
138
|
0 |
0 |
if ($ruby eq $self->ruby_version) |
|
156
|
0 |
0 |
if -d $dir_to_remove |
|
168
|
0 |
0 |
unless $self->_check_db |
|
205
|
0 |
0 |
if ($ENV{'RUBY_VERSION'} and $gemset) |
|
213
|
0 |
0 |
if ($self->ruby_version ~~ \@$installed) |
|
230
|
0 |
0 |
if ($ENV{'RUBY_VERSION'}) |
|
238
|
0 |
0 |
if ($self->ruby_version ~~ \@$installed) |
|
242
|
0 |
0 |
$ENV{'GEM_PATH'} =~ /$_/ ? : |
|
246
|
0 |
0 |
wantarray ? : |
|
257
|
0 |
0 |
unless $$major_versions{$major} |
|
258
|
0 |
0 |
unless defined $patchlevel |
|
263
|
0 |
0 |
if defined $_ |
|
264
|
0 |
0 |
if defined $_ |
|
265
|
0 |
0 |
if defined $_ |
|
266
|
0 |
0 |
if defined $_ |
|
299
|
0 |
0 |
if ($req_version =~ /$major_version/) |
|
301
|
0 |
0 |
if ($ruby =~ /$req_version/) |
|
306
|
0 |
0 |
if ($ruby eq $req_version) { } |
|
|
0 |
0 |
elsif ($ruby =~ /preview|rc\d?+/) { } |
|
322
|
0 |
0 |
unless ($guess) |
|
342
|
0 |
0 |
if join ' ', \@{$self->installed_rubies->{$major_version};} ~~ qr/$ruby/ |
|
344
|
0 |
0 |
unless ($installed) |
|
352
|
0 |
0 |
unless ($installed) |
|
354
|
0 |
0 |
unless $installed |
|
391
|
0 |
0 |
if (-x $nproc) |
|
439
|
0 |
0 |
if $$seen{$_} <= 1 |
|
451
|
0 |
0 |
if ($shell) |
|
464
|
0 |
0 |
if (-f $file) |
|
470
|
0 |
0 |
if $result != 200 |
|
479
|
0 |
0 |
if (-d 'File::Spec'->catdir($self->rootdir, 'source', $self->ruby_version, 'bin')) |
|
485
|
0 |
0 |
unless (-f $ENV{'MY_RUBY_HOME'} . '/bin/gem') |
|
489
|
0 |
0 |
unless (-f $file) |
|
491
|
0 |
0 |
if $result != 200 |