line |
true |
false |
branch |
38
|
0 |
0 |
if ($params{'repositories'} and ref $params{'repositories'} eq 'ARRAY') |
54
|
5 |
0 |
if (@_ % 2) |
61
|
5 |
0 |
if ($self->repositories) |
65
|
0 |
5 |
if ($params{'repositories'} and ref $params{'repositories'} eq 'ARRAY') |
70
|
0 |
0 |
if ($params{'version'} and $params{'version_exact'}) |
75
|
0 |
5 |
if $self->verbose |
78
|
1 |
4 |
if ($installed_version) |
85
|
0 |
1 |
if ($params{'version'}) |
91
|
0 |
0 |
if $check |
104
|
1 |
4 |
unless ($package_path) |
107
|
0 |
1 |
$file_opts{'version'} ? : |
121
|
1 |
3 |
if ($parsed->error_string) |
128
|
0 |
3 |
unless ($self->_check_matching_versions($parsed, $self->otrs_version)) |
139
|
2 |
1 |
if ($self->utils_otrs->is_installed('package', $parsed->name, 'version', $parsed->version)) |
148
|
0 |
1 |
if $self->verbose |
151
|
0 |
1 |
unless $parsed->dependencies |
156
|
0 |
1 |
if $self->verbose |
163
|
0 |
0 |
if eval "use $module $version; 1;" |
172
|
0 |
0 |
if $self->utils_otrs->is_installed(%{$otrs_dep;}) |
175
|
0 |
0 |
unless ($success or $self->force) |
180
|
0 |
1 |
if ($self->prove) |
187
|
0 |
1 |
if $self->verbose |
199
|
0 |
0 |
$self->sudo ? : |
204
|
0 |
0 |
unless ($out =~ /Successfully installed /) |
236
|
7 |
22 |
if $r_major != $major |
237
|
14 |
8 |
if lc $r_minor ne 'x' and $r_minor != $minor |
238
|
2 |
6 |
if lc $r_patch ne 'x' and $r_patch != $patch |