line |
true |
false |
branch |
35
|
0 |
1 |
if (exists $app->routes->conditions->{'int'}) { } |
45
|
2 |
0 |
defined $pattern ? : |
47
|
2 |
0 |
if $int =~ /^\d+$/ |
52
|
0 |
1 |
if (exists $app->routes->conditions->{'standard'}) { } |
59
|
0 |
1 |
if (exists $app->routes->conditions->{'uuid'}) { } |
69
|
0 |
0 |
defined $pattern ? : |
71
|
0 |
0 |
if $uuid =~ /^[a-f0-9]{8}-?[a-f0-9]{4}-?[a-f0-9]{4}-?[a-f0-9]{4}-?[a-f0-9]{12}$/i |
82
|
2 |
0 |
ref $_[0] eq 'HASH' ? : |
88
|
1 |
1 |
$options->{'prefix'} ? : |
95
|
1 |
1 |
$options->{'controller'} ? : |
105
|
1 |
1 |
$options->{'element'} ? : |
114
|
2 |
0 |
ref $_[0] eq 'HASH' ? : |
121
|
1 |
1 |
$options->{'prefix'} ? : |
138
|
1 |
1 |
$options->{'resource_lookup'} ? : |
164
|
0 |
2 |
unless $routes |
167
|
0 |
2 |
if ref $routes and ref $routes eq 'ARRAY' |
177
|
0 |
2 |
if (ref $attrs eq 'ARRAY') { } |
|
1 |
1 |
elsif (ref $attrs eq 'HASH') { } |
178
|
0 |
0 |
if ref $attrs->[-1] eq 'HASH' |
179
|
0 |
0 |
if ref $attrs->[0] eq 'HASH' |
185
|
1 |
1 |
if (scalar keys %$paths) { } |
192
|
0 |
1 |
$options->{'controller'} ? : |
|
1 |
0 |
$options->{'resource_lookup'} ? : |
200
|
0 |
1 |
$options->{'controller'} ? : |
204
|
0 |
1 |
$options->{'prefix'} ? : |
221
|
1 |
16 |
unless defined $arrayref |
226
|
1 |
22 |
if (ref $path and ref $path eq 'ARRAY') |
230
|
14 |
9 |
if (@parts == 1) { } |
231
|
1 |
13 |
defined $options ? : |