Branch Coverage

blib/lib/Module/Install/RTx.pm
Criterion Covered Total %
branch 0 88 0.0


line true false branch
28 0 0 unless $self->name
30 0 0 unless $self->version
32 0 0 unless $self->abstract
34 0 0 unless ($extra_args->{'no_readme_generation'})
42 0 0 if (/INSTALLDIRS=(.*)/)
49 0 0 if defined $ENV{'RTHOME'}
50 0 0 if defined $ENV{'RTHOME'}
51 0 0 $ENV{'RTHOME'} ? :
54 0 0 if defined $_
55 0 0 if defined $_
57 0 0 if eval { do { local(@INC) = @look; require RT; $RT::LocalLibPath } }
61 0 0 unless my $given = $self->prompt('Path to directory containing your RT.pm:')
75 0 0 unless ($extra_args->{'deprecated_rt'})
81 0 0 if ($RT::CORED_PLUGINS{$package})
98 0 0 if ($installdirs and $installdirs eq 'vendor') { }
108 0 0 unless $RT::StaticPath
122 0 0 if (my(@dirs) = map({'-D', $_;} grep($path{$_}, ('bin', 'html', 'sbin', 'etc'))))
126 0 0 if @po
133 0 0 if ($extra_args->{'remove_files'})
136 0 0 unless eval { do { require 'etc/upgrade/remove_files' } }
141 0 0 if $self->admin
142 0 0 if $self->admin
148 0 0 if ($remove_files)
158 0 0 if ($path{'var'} and -d $RT::MasonDataDir)
166 0 0 if (File::Glob::bsd_glob("$FindBin::Bin/etc/schema.*"))
169 0 0 if (File::Glob::bsd_glob("$FindBin::Bin/etc/acl.*"))
172 0 0 if (-e 'etc/initialdata')
173 0 0 if (grep {/\d+\.\d+\.\d+.*$/;} glob('etc/upgrade/*.*.*'))
178 0 0 if ($path{'lib'}) { }
197 0 0 if (%has_etc)
200 0 0 if $has_etc{'schema'}
203 0 0 if $has_etc{'acl'}
206 0 0 if $has_etc{'initialdata'}
211 0 0 if ($has_etc{'upgrade'})
226 0 0 if ($self->is_admin)
229 0 0 if $sorted[0] eq '4.0.0' and !$self->perl_version || '5.008003' > $self->perl_version
232 0 0 if $sorted[0] eq '4.2.0' and !$self->perl_version || '5.010001' > $self->perl_version
237 0 0 if $version eq $RT::VERSION
241 0 0 if ($sorted[-1] eq $version)
255 0 0 if ($self->is_admin)
264 0 0 if (-e $path) { }
286 0 0 if $self->is_admin
291 0 0 if ($sorted[0] eq $version)
303 0 0 unless ($RT::Config)