line |
true |
false |
branch |
60
|
0 |
41 |
unless $on and $should and $because
|
67
|
41 |
0 |
unless (@$errors)
|
72
|
6 |
35 |
unless ($success)
|
76
|
3 |
3 |
$error_routes && @$error_routes == 1 ? :
|
83
|
11 |
30 |
if (not @$errors and $each)
|
95
|
0 |
7 |
unless defined $path
|
114
|
0 |
5 |
if $number_of_routes > 1
|
117
|
1 |
4 |
if $number_of_routes == 0
|
128
|
38 |
56 |
unless @$bases
|
138
|
9 |
37 |
$add_base ? :
|
157
|
15 |
23 |
unless exists $label_for->{$var_name}
|
165
|
3 |
20 |
if @$errors
|
220
|
6 |
591 |
unless defined $current
|
221
|
187 |
404 |
if $element eq ''
|
227
|
75 |
329 |
if ($element eq '*') { }
|
|
228 |
101 |
elsif ($type eq 'HASH' and exists $current->{$element}) { }
|
|
92 |
10 |
elsif ($type eq 'ARRAY' and &looks_like_number($element) and $element >= 0 && $element < @$current || $element < 0 && abs $element <= @$current) { }
|
228
|
44 |
31 |
if ($type eq 'HASH') { }
|
|
31 |
0 |
elsif ($type eq 'ARRAY') { }
|
235
|
54 |
32 |
if $match
|
245
|
53 |
12 |
if $match
|
260
|
75 |
329 |
if ($generator)
|
269
|
320 |
9 |
if ($advancer)
|
283
|
102 |
85 |
if $do_expansion
|
293
|
20 |
384 |
if (@parts == 3 and defined $parts[2]) { }
|