line |
true |
false |
branch |
17
|
2 |
2 |
if (ref $_ eq 'HASH') |
18
|
1 |
1 |
if exists $$_{'JS'} |
19
|
1 |
1 |
if exists $$_{'UNDEF'} |
22
|
5 |
1 |
$Data::JavaScript::OPT{'JS'} > 1.2 ? : |
25
|
7 |
0 |
if (defined $package) |
31
|
2 |
5 |
if (scalar @import) { } |
32
|
1 |
1 |
if (grep {/^:all$/;} @import) { } |
54
|
0 |
0 |
wantarray ? : |
59
|
0 |
18 |
unless @_ |
65
|
18 |
0 |
wantarray ? : |
88
|
2 |
14 |
if ($Data::JavaScript::OPT{'JS'} >= 1.3 and &Encode::is_utf8($_)) |
110
|
28 |
5 |
unless ($ref = ref $elem) |
111
|
4 |
24 |
unless (defined $elem) |
112
|
1 |
3 |
defined $undef ? : |
116
|
12 |
12 |
if ($elem =~ /^[+-]?(?:(?=\d|\.)\d*(?:\.\d{0,})?)$/) |
118
|
1 |
11 |
if $elem =~ /^0\d+$/ |
127
|
0 |
5 |
if ($$dict{$elem}) |
133
|
4 |
1 |
if ($ref eq 'ARRAY' or UNIVERSAL::isa($elem, 'ARRAY')) { } |
|
1 |
0 |
elsif ($ref eq 'HASH' or UNIVERSAL::isa($elem, 'HASH')) { } |