line |
true |
false |
branch |
142
|
0 |
0 |
if (defined $_[1]) |
155
|
0 |
0 |
if (not defined $args{'pkgdb'}) { } |
156
|
0 |
0 |
if (not defined $ENV{'PKG_DBDIR'}) { } |
226
|
0 |
0 |
if (defined $_[2]) |
230
|
0 |
0 |
unless ($self->errorblank) |
235
|
0 |
0 |
unless (defined $args{'file'}) |
279
|
0 |
0 |
if ($line =~ /^\@comment PKG_FORMAT_REVISION:/) |
287
|
0 |
0 |
if ($line =~ /^\@name /) |
295
|
0 |
0 |
if ($args{'file'}) { } |
296
|
0 |
0 |
if ($line =~ /^\@ignore/) |
307
|
0 |
0 |
if ($line =~ /^\@srcdir /) |
315
|
0 |
0 |
if ($line =~ /^\@ignore_inst/) |
323
|
0 |
0 |
if ($line =~ /^\@comment ORIGIN:/) |
331
|
0 |
0 |
if ($line =~ /^\@option extract-in-place/) |
339
|
0 |
0 |
if ($line =~ /^\@option preserve/) |
347
|
0 |
0 |
if ($line =~ /^\@cwd /) |
349
|
0 |
0 |
if (not defined $hash{'cwd'}) { } |
352
|
0 |
0 |
if ($hash{'cwd'} eq $line) { } |
362
|
0 |
0 |
if ($args{'file'}) |
364
|
0 |
0 |
if ($line =~ /^\@group/) |
370
|
0 |
0 |
if ($line eq '') { } |
380
|
0 |
0 |
if ($line =~ /^\@mode/) |
386
|
0 |
0 |
if ($line eq '') { } |
396
|
0 |
0 |
if ($line =~ /^\@mtree /) |
399
|
0 |
0 |
unless (defined $hash{'mtree'}) |
407
|
0 |
0 |
if ($line =~ /^\@pkgdep /) |
413
|
0 |
0 |
unless (defined $hash{'deps'}) |
424
|
0 |
0 |
if ($line =~ /^\@comment DEPORIGIN:/) |
425
|
0 |
0 |
unless (defined $pkgdep) |
426
|
0 |
0 |
if (defined $hash{'name'}) { } |
445
|
0 |
0 |
if ($args{'file'}) { } |
446
|
0 |
0 |
unless ($line =~ /^\@/) |
447
|
0 |
0 |
unless (defined $hash{'files'}) |
456
|
0 |
0 |
if (defined $group) |
461
|
0 |
0 |
if (defined $user) |
466
|
0 |
0 |
if (defined $mode) |
471
|
0 |
0 |
if ($ignore) |
477
|
0 |
0 |
if ($ignore) |
483
|
0 |
0 |
if (defined $cwd) |
494
|
0 |
0 |
if ($args{'file'}) { } |
495
|
0 |
0 |
if ($line =~ /^\@comment MD5:/) |
496
|
0 |
0 |
unless (defined $file) |
497
|
0 |
0 |
if (defined $hash{'name'}) { } |
518
|
0 |
0 |
if ($line =~ /^\@unexec /) |
521
|
0 |
0 |
unless (defined $hash{'unexec'}) |
531
|
0 |
0 |
if ($line =~ /^\@exec /) |
534
|
0 |
0 |
unless (defined $hash{'exec'}) |
544
|
0 |
0 |
if ($line =~ /^\@dirrm /) |
547
|
0 |
0 |
unless (defined $hash{'dirrm'}) |
557
|
0 |
0 |
if ($line =~ /^\@display /) |
560
|
0 |
0 |
unless (defined $hash{'display'}) |
570
|
0 |
0 |
if ($line =~ /^\@conflicts /) |
573
|
0 |
0 |
unless (defined $hash{'conflict'}) |
583
|
0 |
0 |
if ($line =~ /^\@comment /) |
586
|
0 |
0 |
unless (defined $hash{'comment'}) |
596
|
0 |
0 |
if (defined $hash{'name'}) { } |
641
|
0 |
0 |
if (defined $_[1]) |
645
|
0 |
0 |
unless ($self->errorblank) |
650
|
0 |
0 |
unless (-e $$self{'pkgdb'}) |
658
|
0 |
0 |
unless (opendir PKGDBDIR, $$self{'pkgdb'}) |
674
|
0 |
0 |
if (-d $$self{'pkgdb'} . '/' . $packages[$packagesInt]) { } |
677
|
0 |
0 |
if (not defined $$self{'error'}) { } |
686
|
0 |
0 |
if ($packages[$packagesInt] ne 'pkgdb.db') |
720
|
0 |
0 |
if (defined $_[2]) |
724
|
0 |
0 |
unless ($self->errorblank) |
737
|
0 |
0 |
if (-f $requiredby) |
742
|
0 |
0 |
unless (open REQUIREDBY, $requiredby) |
764
|
0 |
0 |
unless (open COMMENT, $comment) |
778
|
0 |
0 |
unless (open DESCRIPTION, $comment) |
792
|
0 |
0 |
unless (open CONTENTS, $contents) |