| line |
true |
false |
branch |
|
126
|
0 |
0 |
unless defined $pbos->{'name'} and defined $pbos->{'version'} |
|
129
|
0 |
0 |
unless defined $pbos->{'name'} |
|
130
|
0 |
0 |
unless defined $pbos->{'version'} |
|
133
|
0 |
0 |
unless defined $pbos->{'arch'} |
|
136
|
0 |
0 |
if $pbos->{'name'} eq 'redhat' and $pbos->{'version'} =~ /^6\./ |
|
148
|
0 |
0 |
if defined $pbos->{'nover'} and $pbos->{'nover'} eq 'true' |
|
152
|
0 |
0 |
if defined $pbos->{'rmdot'} and $pbos->{'rmdot'} eq 'true' |
|
154
|
0 |
0 |
if (not defined $pbos->{'suffix'} or $pbos->{'suffix'} eq '') { } |
|
193
|
0 |
0 |
if (defined $ambiguous_rel_files->{$d}) |
|
197
|
0 |
0 |
if (-f "$r" and not -l "$r") |
|
201
|
0 |
0 |
if (defined $distro_match->{$d}) { } |
|
218
|
0 |
0 |
if (-f "$r" and not -l "$r") |
|
228
|
0 |
0 |
if (defined $distro_match->{$dd}) |
|
231
|
0 |
0 |
if (defined $release and $release ne 'unknown') |
|
238
|
0 |
0 |
if $found == 1 |
|
241
|
0 |
0 |
if ($found == 0) { } |
|
266
|
0 |
0 |
unless (defined $lsbf) |
|
271
|
0 |
0 |
if (-r $lsbf) { } |
|
277
|
0 |
0 |
if $f =~ /^DISTRIB_CODENAME/ |
|
279
|
0 |
0 |
if $f =~ /^DISTRIB_RELEASE/ |
|
281
|
0 |
0 |
if $f =~ /^DISTRIB_DESCRIPTION/ |
|
284
|
0 |
0 |
if $f =~ /^DISTRIB_ID/ |
|
286
|
0 |
0 |
if $f =~ /^LSB_VERSION/ |
|
290
|
0 |
0 |
if defined $s |
|
291
|
0 |
0 |
if defined $s |
|
292
|
0 |
0 |
if defined $s |
|
293
|
0 |
0 |
if defined $s |
|
294
|
0 |
0 |
if defined $s |
|
311
|
0 |
0 |
if defined $ftp_proxy and $ftp_proxy ne '' |
|
312
|
0 |
0 |
if defined $http_proxy and $http_proxy ne '' |
|
330
|
0 |
0 |
unless defined $pbos->{'install'} and $pbos->{'install'} =~ /\w/ |
|
334
|
0 |
0 |
unless defined $deps |
|
335
|
0 |
0 |
if defined $ENV{'ftp_proxy'} |
|
336
|
0 |
0 |
if defined $ENV{'http_proxy'} |
|
338
|
0 |
0 |
if not defined $deps or $deps =~ /^\s*$/ |
|
344
|
0 |
0 |
if ($ret != 0) |
|
349
|
0 |
0 |
if defined $deps and $deps =~ /\S/ and $Global::pb_stop_on_error |
|
368
|
0 |
0 |
unless defined $pbos->{'type'} |
|
369
|
0 |
0 |
unless defined $f |
|
372
|
0 |
0 |
if ($pbos->{'type'} eq 'rpm') { } |
|
|
0 |
0 |
elsif ($pbos->{'type'} eq 'deb') { } |
|
|
0 |
0 |
elsif ($pbos->{'type'} eq 'ebuild') { } |
|
389
|
0 |
0 |
unless open DESC, "$f" |
|
392
|
0 |
0 |
unless /$regexp/ |
|
397
|
0 |
0 |
if ($pbos->{'type'} eq 'deb') |
|
399
|
0 |
0 |
unless $nextline =~ /^\s+(.+)$/o |
|
432
|
0 |
0 |
if (defined $nextline) |
|
456
|
0 |
0 |
if not defined $deps or $deps =~ /^\s*$/ |
|
461
|
0 |
0 |
if $p =~ /^\s*$/o |
|
462
|
0 |
0 |
if ($pbos->{'type'} eq 'rpm') { } |
|
|
0 |
0 |
elsif ($pbos->{'type'} eq 'deb') { } |
|
|
0 |
0 |
elsif ($pbos->{'type'} eq 'ebuild') { } |
|
465
|
0 |
0 |
if $pbos->{'name'} eq 'redhat' and $pbos->{'version'} =~ /6/ |
|
467
|
0 |
0 |
if $res eq 0 |
|
471
|
0 |
0 |
if $res eq 0 |
|
472
|
0 |
0 |
unless open CMD, "dpkg -l $p |" |
|
475
|
0 |
0 |
if /^ii\s+$p/ |
|
478
|
0 |
0 |
if $ok |
|
525
|
0 |
0 |
if (not -f $dest) { } |
|
|
0 |
0 |
elsif (-f $dest and -s $dest == 0) { } |
|
|
0 |
0 |
elsif (-f $dest and compare("$src", $dest) == 0) { } |
|
554
|
0 |
0 |
unless defined $pbconf |
|
555
|
0 |
0 |
unless defined $pbkey |
|
557
|
0 |
0 |
unless defined $addrepo |
|
560
|
0 |
0 |
if $param eq '' |
|
571
|
0 |
0 |
if ($scheme eq 'ftp' or $scheme eq 'http') { } |
|
578
|
0 |
0 |
if ($pbos->{'type'} eq 'rpm') { } |
|
|
0 |
0 |
elsif ($pbos->{'type'} eq 'deb') { } |
|
579
|
0 |
0 |
if ($bn =~ /\.rpm$/) { } |
|
|
0 |
0 |
elsif ($bn =~ /\.repo$/) { } |
|
|
0 |
0 |
elsif ($bn =~ /\.addmedia/) { } |
|
582
|
0 |
0 |
if (pb_system("rpm -q --quiet $pn", '', 'mayfail') != 0) |
|
589
|
0 |
0 |
if ($pbos->{'install'} =~ /\byum\b/) { } |
|
|
0 |
0 |
elsif ($pbos->{'install'} =~ /\bdnf\b/) { } |
|
|
0 |
0 |
elsif ($pbos->{'install'} =~ /\bzypper\b/) { } |
|
602
|
0 |
0 |
if pb_distro_compare_repo("$ENV{'PBTMP'}/$bn", $dest) |
|
603
|
0 |
0 |
unless -d $dirdest |
|
604
|
0 |
0 |
unless -f "$dirdest/$bn" |
|
613
|
0 |
0 |
if ($bn =~ /\.sources.list$/) { } |
|
615
|
0 |
0 |
if pb_distro_compare_repo("$ENV{'PBTMP'}/$bn", $dest) |
|
640
|
0 |
0 |
unless defined $pbos->{$key} |
|
647
|
0 |
0 |
if (defined $pbos->{'useminor'} and $pbos->{'useminor'} eq 'true' and $pbos->{'version'} =~ /^(\d+)\.(\d+)$/o) |
|
676
|
0 |
0 |
if (defined $opt->{$key}) |
|
683
|
0 |
0 |
if ($param =~ /[^\\]\$/) |
|
694
|
0 |
0 |
if ($nb eq 1) { } |
|
714
|
0 |
0 |
if (defined $os and $os ne '') { } |
|
716
|
0 |
0 |
unless defined $name and defined $ver and defined $darch |
|
736
|
0 |
0 |
if ($#keys == -1) |
|
740
|
0 |
0 |
if (defined $ENV{'PBV'}) { } |
|
748
|
0 |
0 |
if ($#keys == -1) { } |