| line |
true |
false |
branch |
|
156
|
13 |
1565 |
@_ > 1 ? : |
|
158
|
65 |
1513 |
unless $class->configdata |
|
160
|
14 |
1564 |
if ($config) |
|
161
|
0 |
14 |
unless $config |
|
171
|
312 |
0 |
@_ > 1 ? : |
|
175
|
0 |
312 |
unless $$args{'name'} and $$args{'base'} |
|
179
|
237 |
75 |
if Mouse::is_class_loaded($classname) and $classname->isa($$args{'base'}) |
|
190
|
0 |
75 |
if $@ |
|
193
|
66 |
9 |
unless $self->lazy_roles->{$$args{'name'}} |
|
194
|
18 |
0 |
unless $classname->meta->does_role($plugin) |
|
197
|
9 |
66 |
if $self->context_class_detected |
|
204
|
0 |
0 |
unless $self->_class_stash |
|
210
|
13 |
0 |
unless $class->plugins |
|
212
|
1 |
34 |
$_ =~ /^\+(.+)/ ? : |
|
247
|
0 |
54 |
if $self->debug |
|
253
|
0 |
54 |
if $option{'action_cache'} |
|
265
|
0 |
0 |
if $self->context_class->meta->does_role('Ark::Context::Debug') |
|
273
|
220 |
65 |
if $self->config->{'home'} |
|
278
|
10 |
55 |
if (my $path = $INC{$file}) |
|
283
|
10 |
0 |
if (-d $path) |
|
299
|
43 |
91 |
if (my $target_context = $plugin->plugin_context) |
|
300
|
1 |
42 |
if ($target_context eq 'Core') { } |
|
301
|
1 |
0 |
unless $self->meta->does_role($plugin) |
|
309
|
79 |
12 |
unless $self->context_class->meta->does_role($plugin) |
|
318
|
206 |
25 |
unless $self->plugins |
|
332
|
168 |
33 |
if $role->name =~ /::Encoding::/ |
|
335
|
63 |
168 |
if $encoding_filter_required |
|
341
|
54 |
177 |
$self->use_cache ? : |
|
348
|
0 |
231 |
if ($self->debug) |
|
356
|
17 |
311 |
if ($self->components->{$component}) |
|
360
|
0 |
311 |
unless $self->ensure_class_loaded($component) |
|
361
|
288 |
23 |
unless $component->isa('Ark::Component') |
|
367
|
3 |
20 |
if ($instance->can('ARK_DELEGATE')) |
|
376
|
0 |
23 |
unless $name |
|
378
|
0 |
23 |
if ($name =~ /^\+/) { } |
|
391
|
0 |
0 |
unless $name |
|
398
|
2 |
3 |
if (my $class = $self->external_model_class) |
|
399
|
2 |
0 |
@_ >= 2 ? : |
|
402
|
0 |
3 |
unless $name |
|
408
|
1 |
19 |
unless (defined $name) |
|
409
|
0 |
1 |
unless $name = $self->config->{'default_view'} |
|
418
|
1 |
0 |
if $model_class->can('initialize') |
|
421
|
1 |
0 |
if ($conf) |
|
429
|
2 |
361 |
if (not @_) { } |
|
440
|
302 |
892 |
unless Mouse::is_class_loaded($class) |
|
446
|
0 |
149 |
unless $self->config->{'home'} |
|
450
|
1 |
148 |
if -d $path |
|
462
|
1 |
279 |
if (my $error = $context->error->[0]) |
|
466
|
1 |
0 |
unless ($self->debug or $context->response->status eq '500') |