line |
true |
false |
branch |
5
|
10 |
0 |
if eval "use warnings 'experimental::signatures'; 1" |
36
|
7 |
66 |
if ($read_ys) { } |
55
|
0 |
57 |
$file ? : |
113
|
149 |
390 |
if ($event->{'name'} eq "scalar_event") |
118
|
0 |
2 |
$style == 4 ? : |
|
147 |
2 |
$style == 1 ? : |
181
|
109 |
12 |
if is_val($n) |
182
|
87 |
0 |
if is_val($n) |
183
|
85 |
0 |
if is_val($n) |
185
|
0 |
0 |
unless is_map($n) and pairs($n) == 1 |
189
|
0 |
0 |
if is_single($n) |
192
|
2 |
12 |
if is_map($n) |
194
|
0 |
171 |
unless is_map($n) |
195
|
0 |
72 |
unless is_seq($n) |
196
|
0 |
35 |
unless is_val($n) |
197
|
0 |
57 |
unless is_pair($n) |
198
|
0 |
12 |
unless @{$n->elem;} > 0 |
199
|
0 |
2 |
unless @{$n->pair;} > 0 |
213
|
56 |
1 |
@ast == 1 ? : |
221
|
0 |
0 |
if (need_main_call($ast)) |
238
|
55 |
180 |
is_pair($n) ? : |
239
|
0 |
235 |
unless $tag |
245
|
0 |
0 |
"$n" eq 'false' ? : |
|
0 |
0 |
"$n" eq 'true' ? : |
252
|
0 |
34 |
unless "$k" =~ /^($sym)($bp?)$/ |
255
|
11 |
23 |
if ($args) |
256
|
0 |
11 |
unless $args =~ s/^\((.*)\)$/$1/ |
259
|
0 |
34 |
if $fn eq "main" |
262
|
24 |
10 |
unless is_seq($v) |
268
|
0 |
5 |
unless "$k" =~ /^($sym)\s*=$/ |
281
|
3 |
9 |
if ($sig =~ s/^\*($sym)//) { } |
285
|
1 |
8 |
if ($sig =~ /^($sym)=/) |
294
|
0 |
12 |
if length $sig |
307
|
0 |
1 |
unless text($k) =~ /^(defn|defmacro)\s+($sym)$/ |
326
|
4 |
8 |
if ($m) { } |
327
|
0 |
4 |
unless text($k) =~ /^($sym?)?\((.*)\)$/ |
332
|
0 |
8 |
unless text($k) =~ /^(fn|defn|defmacro)\s+($sym?)?\((.*)\)$/ |
339
|
1 |
11 |
is_seq($v) ? : |
344
|
2 |
10 |
@$dargs || is_def($first) || is_map($first) ? : |
351
|
3 |
3 |
if (@elems == 1) { } |
363
|
0 |
2 |
unless "$k" =~ /^if +($bp)/ |
365
|
2 |
0 |
is_seq($v) ? : |
379
|
0 |
0 |
if (s/\A\$($sym)//) { } |
|
0 |
0 |
elsif (s/\A\$($bp)//s) { } |
|
0 |
0 |
elsif (s/\A(.+?)(?=\$)//s) { } |
399
|
0 |
2 |
if (is_map($elems[0]) and @{$elems[0]{'pair'};} > 1) |
419
|
0 |
1 |
unless (my $sym = "$k") =~ s/\s+=$// |
431
|
0 |
0 |
unless my $assigns = shift @elems |
433
|
0 |
0 |
if (is_map($assigns)) { } |
|
0 |
0 |
elsif (is_seq($assigns)) { } |
437
|
0 |
0 |
unless $k =~ s/\ +=$// |
456
|
0 |
1 |
unless "$k" =~ /^loop +($bs)/ |
458
|
1 |
0 |
is_seq($v) ? : |
468
|
51 |
2 |
if @forms == 1 |
485
|
0 |
0 |
is_map($_) ? : |
491
|
0 |
0 |
unless key($p) =~ /^catch\(($sym)\)$/ |
502
|
1 |
0 |
if (ref $v eq "Lingy::Symbol") |
514
|
0 |
3 |
unless (my $expr = "$k") =~ s/ ?([?|])$// |
515
|
2 |
1 |
$1 eq '?' ? : |
517
|
3 |
0 |
is_seq($v) ? : |
530
|
0 |
0 |
if ref $n eq "Lingy::List" and @$n >= 2 and ref $n->[0] eq "Lingy::Symbol" and "$n->[0]" eq "defn" and ref $n->[1] eq "Lingy::Symbol" and "$n->[1]" eq "main" |
540
|
0 |
0 |
if $main_called |
541
|
0 |
0 |
if is_main($ast) |
542
|
0 |
0 |
unless ref $ast eq "Lingy::List" |
544
|
0 |
0 |
if is_main($node) |
573
|
3 |
217 |
if /^\w+(?:::\w+)+$/ |
595
|
74 |
6 |
if wantarray |
596
|
0 |
6 |
unless @ast == 1 |
608
|
0 |
70 |
if $@ |
611
|
38 |
32 |
ref $_ ? : |
618
|
1 |
46 |
if (@$tokens >= 2 and $tokens->[0] eq "->" and $tokens->[1] =~ /^$sym\($/) |
624
|
0 |
1 |
unless $method =~ s/\($// |
627
|
1 |
29 |
$token =~ /^$re$/ ? : |
|
2 |
30 |
$token eq '`' ? : |
|
28 |
32 |
$token eq '(' ? : |
|
0 |
60 |
$token =~ /^\('\s$/ ? : |
|
11 |
60 |
$token =~ s/^($sym)\($/$1/ ? : |
639
|
10 |
18 |
if $l or @$group != 3 or not $group->[1] =~ qr/^$op$/ |
642
|
1 |
17 |
if $oper eq ".." |
652
|
0 |
12 |
if (@$rest == 3 and $rest->[1] =~ qr/^$op$/) |
664
|
40 |
108 |
if ($tokens->[0] eq ')') { } |
|
2 |
106 |
elsif ($tokens->[0] =~ qr/^$sym?\('?$/) { } |
680
|
3 |
120 |
ref $_ ? : |
703
|
228 |
116 |
if ($event->{'type'} =~ /^[+=](map|seq|val|ali)$/) |
706
|
0 |
228 |
if ((my $ytag = $event->{'ytag'}) ne "-") |
707
|
0 |
0 |
unless $ytag =~ s/^!(\w*)$/$1/ |
720
|
57 |
63 |
if $events->[0]{'type'} eq "-map" |
735
|
22 |
44 |
if $events->[0]{'type'} eq "-seq" |
779
|
0 |
165 |
if $n->{'ytag'} |
781
|
55 |
110 |
if (is_map($n)) { } |
|
23 |
87 |
elsif (is_seq($n)) { } |
783
|
0 |
38 |
unless tag_catch($p) or tag_defn_multi($p) or tag_defn($p) or tag_def($p) or tag_if($p) or tag_fn($p) or tag_let($p) or tag_loop($p) or tag_try($p) or tag_when($p) or tag_call($p) |
812
|
55 |
110 |
if (is_map($n)) |
819
|
0 |
55 |
"$k" eq '^^^' ? : |
|
2 |
55 |
"$k" eq '???' ? : |
821
|
1 |
56 |
if ("$k" eq "cond" and is_map($v)) |
842
|
0 |
87 |
if (e_tag($n) ne '-') { } |
|
2 |
85 |
elsif (is_double($n) or is_literal($n)) { } |
|
85 |
0 |
elsif (is_plain($n)) { } |
845
|
2 |
0 |
unless $n->{'xtop'} and tag_ysexpr($n) or tag_istr($n) |
849
|
39 |
46 |
unless is_key($n) or tag_scalar($n) |
859
|
36 |
0 |
if ($k =~ /^$sym($bp?)$/) |
862
|
1 |
35 |
"$k" eq 'use' ? : |
866
|
3 |
33 |
if (is_plain($v) and text($v) eq "") |
867
|
1 |
2 |
if $args eq "" |
876
|
0 |
57 |
if $n =~ /^catch\($sym\)$/ |
881
|
44 |
6 |
unless $k =~ /^$sym\s*=$/ |
888
|
50 |
6 |
unless $k =~ /^(?:defn|defmacro)\s+$sym$bp$/ |
895
|
56 |
1 |
unless $k =~ /^(?:defn|defmacro)\s+$sym$/ and is_map($v) |
897
|
0 |
4 |
unless $p->[0] =~ /^$bp$/ |
909
|
42 |
2 |
unless $k =~ /^if +\S/ |
915
|
0 |
2 |
if $n =~ /(\$$sym|\$\()/ |
920
|
40 |
2 |
unless $k =~ /^fn\s+$bp$/ |
926
|
0 |
40 |
if $n =~ /^let$/ |
931
|
39 |
1 |
unless $k =~ /^loop +\S/ |
944
|
27 |
39 |
/^$sym$/ ? : |
|
0 |
66 |
/^null$/ ? : |
|
0 |
66 |
/^:$sym$/ ? : |
|
0 |
66 |
/^-?\d+\.\d*$/ ? : |
|
19 |
66 |
/^-?\d+$/ ? : |
|
0 |
85 |
/^(true|false)$/ ? : |
956
|
0 |
39 |
if $n =~ /^try$/ |
961
|
36 |
3 |
unless $k =~ /(?:\)|. )[?|]$/ |
1003
|
0 |
57 |
if $event->{'anch'} ne "-" |
1021
|
57 |
0 |
if ($event) |
1023
|
0 |
57 |
if $event->{'anch'} ne "-" |
1052
|
149 |
34 |
if ($event) |
1055
|
0 |
149 |
if $event->{'anch'} ne "-" |