line |
true |
false |
branch |
317
|
9 |
868 |
unless $$self{'method'} = shift @_ |
324
|
495 |
320 |
unless '' eq ($rc = $self->_cache_configuration) |
325
|
1 |
319 |
unless 'File::AptFetch::ConfigData'->config('lib_method') |
330
|
0 |
319 |
unless defined($$self{'pid'} = fork) |
332
|
61 |
258 |
unless ($$self{'pid'}) |
335
|
0 |
61 |
unless open STDOUT, '>&=', $$self{'me'}->fileno |
337
|
0 |
61 |
unless open STDIN, '<&=', $$self{'it'}->fileno |
338
|
0 |
0 |
unless exec sprintf('%s/%s', 'File::AptFetch::ConfigData'->config('lib_method'), $$self{'method'}) |
353
|
1 |
255 |
if $$self{'ALRM_error'} |
354
|
43 |
212 |
if exists $$self{'CHLD_error'} |
356
|
0 |
212 |
unless @{$$self{'log'};} |
365
|
50 |
162 |
if ('' ne ($rc = $self->_parse_status_code)) { } |
|
0 |
162 |
elsif ($$self{'Status'} != 100) { } |
|
86 |
76 |
elsif ('' ne ($rc = $self->_parse_message)) { } |
404
|
194 |
549 |
if $$self{'pid'} |
406
|
247 |
496 |
if $$self{'me'} |
407
|
247 |
496 |
if $$self{'it'} |
408
|
194 |
549 |
if $$self{'pid'} |
463
|
7 |
254 |
unless ref $code eq 'CODE' or not defined $code |
465
|
176 |
78 |
if ($tag eq 'read' and $code) { } |
|
5 |
73 |
elsif ($tag eq 'read') { } |
|
35 |
38 |
elsif ($tag eq 'gain') { } |
|
31 |
7 |
elsif ($tag eq 'select') { } |
553
|
118 |
72 |
ref $source ? : |
554
|
0 |
190 |
unless $uri |
563
|
43 |
157 |
unless $log |
623
|
8 |
157 |
if $$self{'ALRM_error'} |
624
|
10 |
147 |
if exists $$self{'CHLD_error'} |
626
|
0 |
147 |
unless @{$$self{'log'};} |
630
|
192 |
70 |
if ref $_gain_callback eq 'CODE' and not $rv |
661
|
50 |
424 |
unless $$self{'log'}[0] =~ /^(\d{3})\s+(.+)/ |
732
|
338 |
1951 |
if ($$self{'log'}[0] eq '') |
735
|
86 |
1865 |
unless my($header, $field) = $$self{'log'}[0] =~ /^([0-9a-z-]+):(?>\s+)(.+)/i |
739
|
0 |
1865 |
if exists $cache{$header} |
744
|
0 |
338 |
unless $$self{'diag'}[-1] eq '' |
747
|
76 |
262 |
$$self{'Status'} == 100 ? : |
864
|
234 |
634 |
if @apt_config |
867
|
0 |
634 |
unless defined($$self{'pid'} = fork) |
869
|
53 |
581 |
unless ($$self{'pid'}) |
872
|
0 |
53 |
unless open STDIN, '<', '/dev/null' |
873
|
0 |
53 |
unless open STDOUT, '>&=', $$self{'me'}->fileno |
875
|
0 |
0 |
unless exec @{'File::AptFetch::ConfigData'->config('config_source');} |
883
|
0 |
581 |
unless $$self{'me'}->close |
888
|
29 |
552 |
if $$self{'pid'} |
889
|
29 |
552 |
if $$self{'ALRM_error'} |
892
|
31 |
521 |
if $$self{'CHLD_error'} |
894
|
30 |
491 |
unless @{$$self{'log'};} |
899
|
219 |
12967 |
if not $name =~ m[^[\w/:.+-]+$] or $name =~ /(?
|
903
|
3490 |
9477 |
if ($value = $1) eq '' |
908
|
46 |
40 |
unless ('File::AptFetch::ConfigData'->config('lib_method')) |
910
|
3969 |
45 |
unless $rec =~ /^Dir::Bin::methods=(.+)$/ |
1071
|
259 |
1617 |
if $_select_callback |
1072
|
391 |
1483 |
if (not select($vec, undef, undef, $$self{'tick'})) { } |
|
878 |
605 |
elsif (@line = $$self{'me'}->getlines) { } |
|
605 |
0 |
elsif ($$self{'me'}->eof) { } |
1076
|
50 |
336 |
if ($rc) { } |
|
38 |
298 |
elsif ($timeout < 0) { } |
1084
|
359 |
519 |
if grep(($_ eq ''), @line) |
1145
|
2 |
208 |
unless defined $$st{'filename'} |
1146
|
30 |
178 |
unless $$st{'tick'} |
1148
|
32 |
176 |
unless defined $$st{'flag'} |
1149
|
47 |
161 |
unless defined $$st{'tmp'} |
1150
|
10 |
198 |
if (not defined $$st{'tmp'}) { } |
|
9 |
189 |
elsif (not -f $$st{'tmp'}) { } |
1161
|
189 |
0 |
if 1 > $$st{'factor'} |
1162
|
31 |
158 |
if $$st{'size'} - $$st{'back'} |