line |
true |
false |
branch |
76
|
0 |
0 |
if (-x '/bin/rpm' and -x '/usr/bin/yum' and -d '/etc/sysconfig') |
87
|
0 |
0 |
if (-x '/usr/bin/apt-get' and -e '/etc/apt/sources.list' and -d '/etc/network') |
113
|
0 |
0 |
unless $type |
118
|
0 |
0 |
if ($type eq 'apt-get') |
124
|
0 |
0 |
unless open my $handle, '-|', 'dpkg --list' |
129
|
0 |
0 |
if ($_ =~ /ii([ \t]+)([^\t ]+)[\t ]/) |
136
|
0 |
0 |
if ($installed{$package}) |
145
|
0 |
0 |
if ($type eq 'rpm') |
149
|
0 |
0 |
unless open my $handle, '-|', 'rpm -qa' |
154
|
0 |
0 |
if ($_ =~ /^(.*?)-([0-9])(.*)$/) |
161
|
0 |
0 |
if ($installed{$package}) |
186
|
0 |
0 |
unless $type |
191
|
0 |
0 |
if ($type eq 'apt-get') |
201
|
0 |
0 |
if ($type eq 'rpm') |
224
|
0 |
0 |
unless $type |
229
|
0 |
0 |
if ($type eq 'apt-get') |
239
|
0 |
0 |
if ($type eq 'rpm') |