line |
true |
false |
branch |
88
|
0 |
0 |
unless $asset_path->exists
|
116
|
0 |
0 |
if (defined $asset->{'external'}) { }
|
123
|
0 |
0 |
if $from_file->exists and not $to_file->exists
|
157
|
0 |
0 |
$where =~ /\.css$/ ? :
|
|
0 |
0 |
$where =~ /\.js$/ ? :
|
159
|
0 |
0 |
if $where->exists
|
171
|
0 |
0 |
if ($internal =~ /js$/) { }
|
|
0 |
0 |
elsif ($internal =~ /css$/) { }
|
|
0 |
0 |
elsif ($internal =~ /html$/) { }
|
222
|
0 |
0 |
if ($_->attr('type') and $_->attr('type') eq 'text/css') { }
|
|
0 |
0 |
elsif (defined $_->attr('href') and substr($_->attr('href'), 0, 1) eq '/') { }
|
226
|
0 |
0 |
if ($has_css) { }
|
252
|
0 |
0 |
if (my $src = $_->attr('src'))
|
253
|
0 |
0 |
if $src =~ m[^/\?duckduckhack_]
|
254
|
0 |
0 |
if ($src =~ m[^/(dpan\d+|duckpan)\.js]) { }
|
|
0 |
0 |
elsif ($src =~ m[^/(g\d+|serp)\.js]) { }
|
|
0 |
0 |
elsif ($src =~ m[^/(d\d+|base)\.js]) { }
|
|
0 |
0 |
elsif ($src =~ /locales/) { }
|
|
0 |
0 |
elsif (substr($src, 0, 1) eq '/') { }
|
255
|
0 |
0 |
if ($has_ddh) { }
|
271
|
0 |
0 |
if ($has_ddh) { }
|
293
|
0 |
0 |
if ($_->attr('src'))
|
328
|
0 |
0 |
if (my $src = $_->attr('src'))
|
329
|
0 |
0 |
if ($src =~ m[^/((?:dpan\d+|duckpan)\.js)]) { }
|
|
0 |
0 |
elsif ($src =~ m[^/((?:g\d+|serp)\.js)]) { }
|
|
0 |
0 |
elsif ($src =~ m[^/(locales(?:.*)\.js)]) { }
|
360
|
0 |
0 |
if $_->attr('type')
|
361
|
0 |
0 |
if (my $href = $_->attr('href'))
|
364
|
0 |
0 |
if ($href =~ m[^/((?:[str]\d+|style|static|serp)\.css)])
|
381
|
0 |
0 |
if defined $_
|
389
|
0 |
0 |
unless $asset->{'internal'} and $asset->{'external'}
|
392
|
0 |
0 |
substr($asset->{'external'}, 0, 1) eq '/' ? :
|
394
|
0 |
0 |
$sub_of ? :
|
396
|
0 |
0 |
if ($to_file->exists and time - $to_file->stat->ctime < $self->app->cachesec) { }
|
412
|
0 |
0 |
unless $self->app->verbose
|
413
|
0 |
0 |
if ($expected_length and not defined $progress) { }
|
|
0 |
0 |
elsif ($progress and $bytes_received > $next_update) { }
|
427
|
0 |
0 |
if (not $res->is_success) { }
|
|
0 |
0 |
elsif ($expected_length and $bytes_received < $expected_length) { }
|
435
|
0 |
0 |
if $progress and $expected_length
|
440
|
0 |
0 |
if ($asset->{'load_sub_assets'})
|