| line |
true |
false |
branch |
|
21
|
3 |
8 |
if ($base and substr($base, -1) ne '/') |
|
28
|
4 |
51 |
unless _match_browser($c, @_) |
|
30
|
7 |
44 |
if ($_[1]{'check'}) |
|
32
|
0 |
7 |
$_[1]{'no_base'} ? : |
|
35
|
3 |
4 |
unless $asset |
|
38
|
7 |
41 |
if ($_[1] and $_[1]{'inplace'}) |
|
40
|
0 |
7 |
$config->{'no_base'} ? : |
|
42
|
0 |
7 |
if $local_base |
|
44
|
0 |
7 |
if $config->{'js'} |
|
47
|
0 |
7 |
$config->{'no_file'} ? : |
|
58
|
0 |
32 |
if $format ne 'html' |
|
59
|
11 |
21 |
unless $c->stash->{'__JSLOADERFILES__'} |
|
64
|
1 |
40 |
$config->{'no_base'} ? : |
|
66
|
4 |
37 |
if $config->{'js'} |
|
68
|
16 |
25 |
if $local_base |
|
70
|
3 |
12 |
if ($config->{'no_file'} and $config->{'on_ready'}) |
|
75
|
15 |
26 |
$config->{'no_file'} ? : |
|
78
|
0 |
21 |
unless $c->stash->{'__JSLOADERFILES__'} |
|
80
|
0 |
21 |
unless $load_js |
|
89
|
21 |
34 |
unless $config |
|
90
|
0 |
34 |
if ref $config ne 'HASH' |
|
91
|
25 |
9 |
unless $config->{'browser'} |
|
92
|
0 |
9 |
if ref $config->{'browser'} ne 'HASH' |
|
97
|
0 |
9 |
unless $ua |
|
102
|
2 |
7 |
if (not exists $browser->{$name} || exists $browser->{'default'}) { } |
|
|
1 |
6 |
elsif (not exists $browser->{$name} and exists $browser->{'default'}) { } |
|
111
|
0 |
6 |
unless defined $version |
|
113
|
2 |
4 |
if (not $op or $op ne 'gt' and $op ne 'lt' and $op ne '!') { } |
|
|
2 |
2 |
elsif ($op eq 'gt') { } |
|
|
0 |
2 |
elsif ($op eq 'lt') { } |
|
|
2 |
0 |
elsif ($op eq '!') { } |