line |
true |
false |
branch |
100
|
0 |
0 |
unless $$self{'aptget'} |
104
|
0 |
0 |
unless $$self{'aptcache'} |
152
|
0 |
0 |
if (open APT, "$$self{'aptget'} -q update 2>&1 |") { } |
157
|
0 |
0 |
if $$self{'debug'} |
158
|
0 |
0 |
if ($line =~ /Fetched (\d+\S+) in (.*?) \((\d+\S+?)\)/i) { } |
|
0 |
0 |
elsif ($line =~ s/^W: //) { } |
|
0 |
0 |
elsif ($line =~ s/^E: //) { } |
230
|
0 |
0 |
if (open APT, "echo n | $$self{'aptget'} -q -V upgrade 2>&1 |") |
235
|
0 |
0 |
if $$self{'debug'} |
236
|
0 |
0 |
if ($line =~ /^\s+(\S+)\s+\((\S+)\s+=>\s+(\S+)\)/) { } |
|
0 |
0 |
elsif ($line =~ s/^W: //) { } |
|
0 |
0 |
elsif ($line =~ s/^E: //) { } |
299
|
0 |
0 |
if (ref $args[0] eq 'HASH') |
310
|
0 |
0 |
if (open APT, "$$self{'aptcache'} search '${pkg}' 2>&1 |") |
315
|
0 |
0 |
if grep /all/, @{$$opts{'in'};} |
317
|
0 |
0 |
if $$self{'debug'} |
318
|
0 |
0 |
if ($line =~ /^(\S+)\s+-\s+(.*)$/) |
322
|
0 |
0 |
if grep /name/, @{$$opts{'in'};} and $name =~ /$pkg/i |
323
|
0 |
0 |
if grep /description/, @{$$opts{'in'};} and $desc =~ /$pkg/i |
324
|
0 |
0 |
unless $okay |
425
|
0 |
0 |
if ($install eq '-force') { } |
|
0 |
0 |
elsif ($install eq '-test') { } |
|
0 |
0 |
elsif ($install eq '-remove') { } |
|
0 |
0 |
elsif ($install eq '-purge') { } |
451
|
0 |
0 |
$noop ? : |
452
|
0 |
0 |
$noop ? : |
454
|
0 |
0 |
if (open APT, "$notreally $$self{'aptget'} $justsayyes -q -V $action $packages 2>&1 |") |
459
|
0 |
0 |
if $$self{'debug'} |
460
|
0 |
0 |
if ($line =~ /The following packages will be REMOVED:/i) { } |
|
0 |
0 |
elsif ($line =~ /The following NEW packages will be installed:/i) { } |
|
0 |
0 |
elsif ($line =~ /The following packages will be upgraded:/i) { } |
|
0 |
0 |
elsif ($line =~ /^\s+(\S+)\s+\((\S+)\s+=>\s+(\S+)\)/) { } |
|
0 |
0 |
elsif ($line =~ /^\s+(\S+)\s+\((\S+)\)/) { } |
|
0 |
0 |
elsif ($line =~ /^(\d+)\s+upgraded,\s+(\d+)\s+newly\s+installed,\s+(\d+)\s+to\s+remove\s+and\s+(\d+)\s+not\s+upgraded./i) { } |
|
0 |
0 |
elsif ($line =~ s/^W: //) { } |
|
0 |
0 |
elsif ($line =~ s/^E: //) { } |
488
|
0 |
0 |
if ($state eq 'removed') { } |
495
|
0 |
0 |
if $state |
496
|
0 |
0 |
if $state |
523
|
0 |
0 |
unless ($noop) |
527
|
0 |
0 |
if (open APT, "$$self{'aptcache'} showpkg $package |") |
532
|
0 |
0 |
if $$self{'debug'} |
533
|
0 |
0 |
if ($line =~ m[^(\S+)\s+.*?\(/var/lib/dpkg/status\)]) |