line |
true |
false |
branch |
69
|
0 |
16 |
unless $id |
72
|
12 |
4 |
if (scalar(@args) % 2 == 0) { } |
103
|
0 |
2 |
unless $package |
122
|
0 |
2 |
unless $w |
124
|
2 |
0 |
if $w eq $hw |
165
|
24 |
0 |
if ($o_pack->can('version')) { } |
168
|
0 |
24 |
unless defined $o_pack->version |
169
|
0 |
24 |
unless defined $self->version |
175
|
0 |
32 |
unless defined $self_version[$k] |
176
|
0 |
32 |
unless defined $o_pack_version[$k] |
177
|
32 |
0 |
if ($self_version[$k] =~ /^\d+$/ and $o_pack_version[$k] =~ /^\d+$/) { } |
179
|
8 |
24 |
if ($self_version[$k] > $o_pack_version[$k]) { } |
|
12 |
12 |
elsif ($self_version[$k] < $o_pack_version[$k]) { } |
181
|
0 |
8 |
if $ENV{'SG_DAEMON_DEBUG'} |
186
|
0 |
12 |
if $ENV{'SG_DAEMON_DEBUG'} |
192
|
0 |
0 |
if ($self_version[$k] gt $o_pack_version[$k]) { } |
|
0 |
0 |
elsif ($self_version[$k] lt $o_pack_version[$k]) { } |
194
|
0 |
0 |
if $ENV{'SG_DAEMON_DEBUG'} |
199
|
0 |
0 |
if $ENV{'SG_DAEMON_DEBUG'} |
204
|
4 |
0 |
if ($self->getValue('package-version') and $o_pack->getValue('package-version')) |
205
|
0 |
4 |
if ($self->getValue('package-version') gt $o_pack->getValue('package-version')) { } |
|
0 |
4 |
elsif ($self->getValue('package-version') lt $o_pack->getValue('package-version')) { } |
206
|
0 |
0 |
if $ENV{'SG_DAEMON_DEBUG'} |
210
|
0 |
0 |
if $ENV{'SG_DAEMON_DEBUG'} |
214
|
0 |
4 |
if $ENV{'SG_DAEMON_DEBUG'} |
233
|
16 |
0 |
if ($$self{'ROOT'} =~ /^(.*)-([0-9].*)-(i[0-9]86|noarch)-(\d{1,2})(\.tgz)?$/) { } |
|
0 |
0 |
elsif ($$self{'ROOT'} =~ /^(.*)-([0-9].*)-(i[0-9]86|noarch)-([^\-]+)(\.tgz)?$/) { } |
|
0 |
0 |
elsif ($$self{'ROOT'} =~ /^(.*)-([0-9].*)-(i[0-9]86|noarch)-(\d{1,2})(\w*)(\.tgz)?$/) { } |
|
0 |
0 |
elsif ($$self{'ROOT'} =~ /^(.*)-([^-]+)-(i[0-9]86|noarch)-(\d{1,2})(\.tgz)?$/) { } |
|
0 |
0 |
elsif ($$self{'ROOT'} =~ /^(.*)-([^-]+)-(i[0-9]86|noarch)-(\d{1,2})(\w*)(\.tgz)?$/) { } |
235
|
0 |
16 |
if $ENV{'SG_DAEMON_DEBUG'} |
240
|
4 |
12 |
if defined $$self{'SOURCE'} and $$self{'SOURCE'} =~ /^slackware$/i |
244
|
0 |
0 |
if $ENV{'SG_DAEMON_DEBUG'} |
253
|
0 |
0 |
if $ENV{'SG_DAEMON_DEBUG'} |
262
|
0 |
0 |
if $ENV{'SG_DAEMON_DEBUG'} |
267
|
0 |
0 |
if defined $$self{'SOURCE'} and $$self{'SOURCE'} =~ /^slackware$/i |
271
|
0 |
0 |
if $ENV{'SG_DAEMON_DEBUG'} |
280
|
0 |
0 |
if $ENV{'SG_DAEMON_DEBUG'} |
303
|
0 |
0 |
if ($_ =~ /^\s*PACKAGE NAME\s*:\s*(.*)\.tgz\s*/) { } |
|
0 |
0 |
elsif ($_ =~ /^\s*(COMPRESSED PACKAGE SIZE|PACKAGE SIZE \(compressed\))\s*:\s*(.*) K/) { } |
|
0 |
0 |
elsif ($_ =~ /^\s*(UNCOMPRESSED PACKAGE SIZE|PACKAGE SIZE \(uncompressed\))\s*:\s*(.*) K/) { } |
|
0 |
0 |
elsif ($_ =~ /^\s*PACKAGE LOCATION\s*:\s*(.*)\s*/) { } |
|
0 |
0 |
elsif ($_ =~ /^\s*PACKAGE REQUIRED\s*:\s*(.*)\s*/) { } |
|
0 |
0 |
elsif ($_ =~ /^\s*PACKAGE SUGGESTS\s*:\s*([^\n]*)\s*/) { } |
|
0 |
0 |
elsif ($_ =~ /^\s*PACKAGE CONFLICTS\s*:\s*([^\n]*)\s*/) { } |
|
0 |
0 |
elsif ($_ =~ /^\s*PACKAGE DESCRIPTION:\s*\n*(.*)/ms) { } |
|
0 |
0 |
elsif ($is_descr) { } |
333
|
0 |
0 |
if ($i =~ /^\s*([^><=\s]+)\s*([><=]+)\s*(.+)\s*$/) { } |
|
0 |
0 |
elsif (defined $i and not $i =~ /(,|;|\|)/) { } |
335
|
0 |
0 |
if $$ref{'required_version'} =~ /^(.+)-(.+)-(.+)$/ |
356
|
0 |
0 |
if ($i =~ /^\s*([^><=]+)\s*([><=]+)\s*(.+)\s*$/) { } |
|
0 |
0 |
elsif (defined $i and not $i =~ /(,|;|\|)/) { } |
358
|
0 |
0 |
if $$ref{'required_version'} =~ /^(.+)-(.+)-(.+)$/ |
359
|
0 |
0 |
if $$ref{'comparison_type'} eq '<=' |
360
|
0 |
0 |
if $$ref{'comparison_type'} eq '=>' |
378
|
0 |
0 |
if ($i =~ /^\s*([^><=]+)\s*([><=]+)\s*(.+)\s*$/) { } |
|
0 |
0 |
elsif (defined $i and not $i =~ /(,|;|\|)/) { } |
380
|
0 |
0 |
if $$ref{'required_version'} =~ /^(.+)-(.+)-(.+)$/ |
381
|
0 |
0 |
if $$ref{'comparison_type'} eq '<=' |
382
|
0 |
0 |
if $$ref{'comparison_type'} eq '=>' |
397
|
0 |
0 |
if (defined $1) |
406
|
0 |
0 |
if (/^\s*[^:]+\s*:\s*(.+)$/) |
408
|
0 |
0 |
unless ($have_sd) |
431
|
0 |
0 |
if ($$self{'PACK'}{'name'} and defined $$self{'PACK'}{'description'} and $$self{'PACK'}{'description'}) |
456
|
0 |
0 |
unless defined $$self{'PACK'}{'description'} |
458
|
0 |
0 |
if ($$self{'PACK'}{'description'} =~ /this\s+version\s+.*\s+was\s+comp(iled|lied)\s+for\s+([^\n]*)\s+(.|\n)*\s+by\s+([^\n\t]*)/i) |
462
|
0 |
0 |
if ($$self{'PACK'}{'description'} =~ m[\s*(http://[^\s]+)]i) |
465
|
0 |
0 |
if ($$self{'PACK'}{'description'} =~ /\s*([\w\.\-]+\@[^\s]+\.[\w]+)/i) |
469
|
0 |
0 |
if ($$self{'PACK'}{'description'} =~ /Package\s+created\s+by:\s+(.*)\s+<([^\n\t]*)>/i) { } |
|
0 |
0 |
elsif ($$self{'PACK'}{'description'} =~ /Packager:\s+(.*)\s+<(.*)>/i) { } |
|
0 |
0 |
elsif ($$self{'PACK'}{'description'} =~ /Package\s+created\s+.*by\s+(.*)\s+\(([^\n\t]*)\)/i) { } |
|
0 |
0 |
elsif ($$self{'PACK'}{'description'} =~ /Packaged by ([^\s]+) ([^\s]+) \((.*)\)/i) { } |
|
0 |
0 |
elsif ($$self{'PACK'}{'description'} =~ /\s*Package\s+Maintainer:\s+(.*)\s+\(([^\n\t]*)\)/i) { } |
|
0 |
0 |
elsif ($$self{'PACK'}{'description'} =~ /Packaged\s+by\s+(.*)\s+<([^\n\t]*)>/i) { } |
495
|
0 |
0 |
if ($$self{'PACK'}{'description'} =~ /Package created by ([^\s]+) ([^\s]+)/i) |
500
|
0 |
0 |
if ($$self{'PACK'}{'description'} =~ /Packaged\s+by:?\s+(.*)(\s+(by|for|to|on))?/i) |
503
|
0 |
0 |
if ($$self{'PACK'}{'description'} =~ /Package\s+created\s+by:?\s+([^\n\t]*)/i) |
507
|
0 |
0 |
if ($$self{'PACK'}{'description'} =~ /Package\s+created\s+by\s+(.*)\s+\[([^\n\t]*)\]/i) |
511
|
0 |
0 |
if ($$self{'PACK'}{'description'} =~ /Packager:\s+([^\n\t]*)/i) |
514
|
0 |
0 |
if ($$self{'PACK'}{'description'} =~ /Packager\s+([^\n\t]*)/i) |
517
|
0 |
0 |
if ($$self{'PACK'}{'description'} =~ /Home\s{0,1}page: ([^\n\t]*)/i) |
520
|
0 |
0 |
if ($$self{'PACK'}{'description'} =~ /Package URL: ([^\n\t]*)/i) |
524
|
0 |
0 |
if ($$self{'PACK'}{'description'} =~ /Package creat(ed|e) with ([^\s]*) ([^\s]*)/i) |
554
|
0 |
14 |
if (defined $$self{'STATUS'} and ref $$self{'STATUS'} eq 'Slackware::Slackget::Status') |
558
|
0 |
14 |
if ($$self{'PACK'}{'package-date'}) |
563
|
0 |
14 |
if ($$self{'PACK'}{'date'}) |
568
|
14 |
0 |
if ($$self{'STATS'}) |
569
|
2 |
12 |
if ($$self{'STATS'}{'dwc'} == 0 and scalar @{$$self{'STATS'}{'hw'};} > 0 and defined $self->getValue('description')) |
578
|
0 |
14 |
if ($$self{'PACK'}{'required'}) |
581
|
0 |
0 |
if ref $dep ne 'ARRAY' |
585
|
0 |
0 |
if $$ad{'required_version'} |
586
|
0 |
0 |
if $$ad{'comparison_type'} |
595
|
0 |
14 |
if ($$self{'PACK'}{'suggested'}) |
598
|
0 |
0 |
if ref $dep ne 'ARRAY' |
602
|
0 |
0 |
if $$ad{'required_version'} |
603
|
0 |
0 |
if $$ad{'comparison_type'} |
613
|
0 |
68 |
if /^_[A-Z_]+$/ |
614
|
68 |
0 |
if defined $$self{'PACK'}{$_} |
655
|
0 |
2 |
if ($$self{'PACK'}{'required'}) |
658
|
0 |
0 |
if ref $dep ne 'ARRAY' |
661
|
0 |
0 |
if $$ad{'comparison_type'} |
662
|
0 |
0 |
if $$ad{'required_version'} |
671
|
0 |
2 |
if ($$self{'PACK'}{'suggested'}) |
674
|
0 |
0 |
if ref $dep ne 'ARRAY' |
677
|
0 |
0 |
if $$ad{'comparison_type'} |
678
|
0 |
0 |
if $$ad{'required_version'} |
687
|
0 |
2 |
if ($$self{'PACK'}{'conflicts'}) |
690
|
0 |
0 |
if ref $dep ne 'ARRAY' |
693
|
0 |
0 |
if $$ad{'comparison_type'} |
694
|
0 |
0 |
if $$ad{'required_version'} |
736
|
0 |
14 |
if (defined $$self{'STATUS'} and ref $$self{'STATUS'} eq 'Slackware::Slackget::Status') |
740
|
0 |
14 |
if ($$self{'PACK'}{'package-date'}) |
745
|
0 |
14 |
if ($$self{'PACK'}{'date'}) |
751
|
0 |
82 |
if ($_ eq 'package-source') { } |
753
|
0 |
0 |
if defined $$self{'PACK'}{$_} |
757
|
68 |
14 |
if defined $$self{'PACK'}{$_} |
904
|
0 |
0 |
if (defined $status) { } |
906
|
0 |
0 |
if ref $status ne 'Slackware::Slackget::Status' |
934
|
0 |
0 |
if (defined $type and $type eq 'required' || $type eq 'suggested' || $type eq 'conflicts') { } |
936
|
0 |
0 |
if (ref $dep eq 'HASH') { } |
|
0 |
0 |
elsif (ref $dep eq 'ARRAY') { } |
1052
|
2 |
0 |
if (exists $$self{'PACK'}{'package-location'} and defined $$self{'PACK'}{'package-location'}) { } |