line |
true |
false |
branch |
52
|
0 |
0 |
ref $mod eq 'HASH' ? :
|
|
0 |
0 |
ref $mod eq '' ? :
|
53
|
0 |
0 |
if defined $class
|
62
|
0 |
220 |
if $self->auto_init_modules
|
76
|
0 |
141 |
if (defined $self->base_query_string and $self->base_query_string ne '')
|
77
|
0 |
0 |
unless $self->base_query_string =~ /^\?/
|
87
|
42 |
0 |
$url ? :
|
98
|
0 |
0 |
if (defined $params and ref $params eq 'HASH')
|
116
|
0 |
1 |
if (scalar keys %{$self->c->req->params;})
|
136
|
0 |
0 |
exists $c->stash->{'config_params'} ? :
|
220
|
32 |
354 |
unless (defined $attrs)
|
241
|
0 |
113 |
ref $_[0] eq 'HASH' ? :
|
305
|
661 |
355 |
if ($attr->has_value($self)) { }
|
306
|
286 |
375 |
unless (defined $self->per_request_attr_build_defaults->{$attr->name})
|
308
|
204 |
82 |
if ref $val
|
325
|
355 |
661 |
if (defined $self->per_request_attr_build_not_set->{$attr->name}) { }
|
|
661 |
0 |
elsif (defined $self->per_request_attr_build_defaults->{$attr->name}) { }
|
332
|
435 |
226 |
if ref $val
|
339
|
0 |
83 |
if $self->no_persist
|
374
|
876 |
519 |
unless defined $self->c
|
376
|
83 |
436 |
if defined $self->c and $self->c->request_id != $self->_lastRequestApplied
|
384
|
0 |
4 |
unless my $path = shift()
|
389
|
0 |
4 |
unless ($first)
|
392
|
0 |
0 |
if not $topModule->has_module($parts[0]) and $parts[0] eq $self->app->module_root_namespace
|
401
|
4 |
0 |
unless scalar @parts > 0
|
413
|
4 |
628 |
unless $self->_load_module($name)
|
422
|
0 |
672 |
unless my $name = shift()
|
423
|
4 |
668 |
unless $self->has_module($name)
|
428
|
655 |
13 |
if (ref $class_name eq 'HASH')
|
430
|
0 |
655 |
unless $class_name = $class_name->{'class'}
|
433
|
452 |
216 |
if defined $self->modules_obj->{$name} and ref $self->modules_obj->{$name} eq $class_name
|
435
|
0 |
216 |
unless my $Object = $self->create_module($name, $class_name, $params)
|
448
|
0 |
216 |
if $name =~ m[/]
|
452
|
2 |
214 |
unless defined $params
|
454
|
0 |
216 |
if (defined $self->modules_params->{$name})
|
463
|
210 |
6 |
unless substr($params->{'module_path'}, -1) eq '/'
|
477
|
0 |
216 |
unless my $Object = $class_name->new($params)
|
478
|
0 |
216 |
unless $Object->isa('RapidApp::Module')
|
482
|
0 |
216 |
if $c->debug
|
491
|
750 |
6 |
$self->parent_module_ref ? :
|
497
|
0 |
0 |
unless defined $self->parent_module
|
505
|
0 |
0 |
if lc $self->module_name eq lc $name
|
506
|
0 |
0 |
unless defined $self->parent_module
|
514
|
0 |
0 |
ref $_[0] eq 'HASH' ? :
|
518
|
0 |
0 |
if defined $self->module_options->{$opt}
|
528
|
0 |
0 |
ref $_[0] eq 'HASH' ? :
|
586
|
0 |
509 |
if ref $_[0]
|
602
|
0 |
175 |
unless ref $Handler eq 'RapidApp::Handler'
|
604
|
0 |
175 |
if ($self->print_rapidapp_handlers_call_debug)
|
607
|
0 |
0 |
if (defined $Handler->scope) { }
|
609
|
0 |
0 |
if ($Handler->scope->isa('RapidApp::Module'))
|
618
|
0 |
0 |
if (defined $Handler->method) { }
|
753
|
0 |
0 |
unless my $add
|
754
|
0 |
0 |
if ref $add
|
811
|
0 |
0 |
length $ctl_ret > 20 ? :
|
812
|
0 |
0 |
length $tempResp->body > 20 ? :
|
815
|
0 |
0 |
unless (defined $c->res->body)
|
835
|
0 |
0 |
unless &blessed($uri) and $uri->isa('URI')
|
848
|
0 |
0 |
ref $paramHash{$key} ne 'ARRAY' ? :
|
|
0 |
0 |
!defined($paramHash{$key}) ? :
|
862
|
0 |
0 |
unless $resp->status == 200
|
865
|
0 |
0 |
if (ref $ret)
|
891
|
0 |
52 |
if $c->debug
|
902
|
23 |
0 |
$opt && ($self->has_module($opt) || $self->has_action($opt)) ? :
|
914
|
0 |
0 |
if $self->get_local_args
|
919
|
0 |
0 |
defined $match ? :
|
927
|
0 |
0 |
if $attr->name eq 'actions'
|
928
|
0 |
0 |
if $attr->is_lazy or $attr->has_clearer
|
973
|
40 |
9 |
if $opt and not $self->has_action($opt) and $self->_load_module($opt)
|
976
|
9 |
3 |
if $opt and $self->has_action($opt)
|
979
|
0 |
3 |
if defined $self->default_action
|
986
|
0 |
3 |
if (defined $opt and not $self->accept_subargs) { }
|
|
1 |
2 |
elsif ($self->auto_viewport and not $self->c->is_ra_ajax_req) { }
|
988
|
0 |
0 |
if $opt eq 'favicon.ico' and not $c->is_ra_ajax_req
|
992
|
0 |
0 |
if $self->c->debug
|
1004
|
0 |
1 |
if $self->c->debug
|
1010
|
0 |
2 |
if (my $ret = $self->_maybe_render_viewport) { }
|
1019
|
0 |
2 |
if $self->c->debug
|
1031
|
11 |
0 |
unless my $rdr_vp = $self->c->stash->{'render_viewport'}
|
1033
|
0 |
0 |
if ($rdr_vp and $rdr_vp eq 'printview' and $self->can('printview')) { }
|
|
0 |
0 |
elsif ($rdr_vp and $rdr_vp eq 'navable' and $self->can('navable')) { }
|
|
0 |
0 |
elsif ($rdr_vp and $self->can('viewport')) { }
|
1064
|
0 |
9 |
unless $opt
|
1066
|
0 |
9 |
if $self->c->debug
|
1072
|
0 |
9 |
unless my $coderef = $self->get_action($opt)
|
1074
|
0 |
9 |
if (my $ret = $self->_maybe_render_viewport)
|
1080
|
0 |
9 |
ref $coderef eq 'CODE' ? :
|
1121
|
0 |
11 |
if (defined $self->c->response->body and length $self->c->response->body)
|
1125
|
0 |
0 |
if (utf8::is_utf8($self->c->response->body))
|
1126
|
0 |
0 |
unless $self->c->response->content_type =~ /^text|xml$|javascript$|JSON$/
|
1133
|
0 |
11 |
if (defined $self->c->stash->{'current_view'} or defined $self->c->stash->{'current_view_instance'})
|
1139
|
11 |
0 |
if ($self->render_as_json and ref $data and not defined $self->no_json_ref_types->{ref $data}) { }
|
1192
|
0 |
0 |
if scalar @args > 0
|
1194
|
0 |
0 |
if (ref $func eq 'RapidApp::JSONFunc') { }
|
1195
|
0 |
0 |
unless $func->raw
|
1202
|
0 |
0 |
if $self->response_callback_scoped
|