| line |
true |
false |
branch |
|
32
|
14 |
2 |
unless defined $app |
|
59
|
1 |
28 |
if defined $prefix and $prefix eq "/" |
|
61
|
1 |
28 |
if defined $prefix and not $prefix =~ m[^/] |
|
64
|
3 |
25 |
defined $self->app_prefix ? : |
|
69
|
10 |
18 |
if ('Dancer::App'->current->on_lexical_prefix) { } |
|
75
|
15 |
13 |
if (ref $cb eq "CODE") |
|
81
|
0 |
15 |
if $e |
|
102
|
0 |
0 |
if (not @missing_modules) { } |
|
116
|
0 |
0 |
unless defined $_apps->{$name} |
|
117
|
0 |
0 |
if $_apps->{$name}->registry->is_empty |
|
131
|
559 |
63 |
if ($route) |
|
135
|
0 |
63 |
if $route |
|
147
|
84 |
538 |
if (Dancer::Config::setting("route_cache")) |
|
152
|
36 |
48 |
if ($route) |
|
163
|
537 |
1017 |
if ($match) |
|
164
|
14 |
523 |
if $r->has_options and not $r->validate_options($request) |
|
167
|
48 |
475 |
if (Dancer::Config::setting("route_cache")) |
|
180
|
100 |
16 |
unless defined $self->name |
|
183
|
1 |
115 |
if exists $$_apps{$self->name} |
|
203
|
1058 |
7159 |
if defined $app |
|
205
|
99 |
7060 |
unless (defined $_current) |
|
220
|
2259 |
142 |
if ($self->name eq "main") |
|
221
|
26 |
2233 |
@_ > 1 ? : |
|
226
|
38 |
104 |
if (@_ > 1) { } |
|
230
|
45 |
59 |
exists $self->settings->{$name} ? : |
|
237
|
0 |
38 |
unless @_ % 2 == 0 |