line |
true |
false |
branch |
106
|
960 |
9 |
if (my $action = $c->action) { }
|
114
|
9 |
0 |
$path ? :
|
117
|
0 |
9 |
if $c->debug
|
130
|
0 |
6983 |
unless ($command)
|
131
|
0 |
0 |
if $c->debug
|
137
|
4 |
6979 |
if (ref $extra_params[-2] eq "ARRAY")
|
141
|
24 |
6959 |
if (ref $extra_params[-1] eq 'ARRAY') { }
|
153
|
2 |
6981 |
if (&blessed($command) and $command->isa('Catalyst::Action')) { }
|
162
|
133 |
6849 |
unless ($action)
|
163
|
23 |
110 |
@extra_params ? :
|
188
|
0 |
50 |
if (not $action) { }
|
|
2 |
48 |
elsif (not defined $action->namespace) { }
|
|
4 |
44 |
elsif (not $action->class->can('_DISPATCH')) { }
|
204
|
6 |
44 |
if ($error)
|
206
|
0 |
6 |
if $c->debug
|
250
|
1 |
6931 |
unless ($action)
|
254
|
0 |
1 |
if $c->debug
|
266
|
1074 |
5813 |
if (@{$c->error;})
|
280
|
14 |
2 |
if $command
|
288
|
5990 |
991 |
unless ($path =~ m[^/])
|
305
|
6847 |
21 |
if (my $action = $c->get_action($tail, $path)) { }
|
311
|
4 |
17 |
unless $path
|
323
|
3 |
130 |
if $component eq &blessed($c)
|
325
|
14 |
116 |
&blessed($component) ? :
|
336
|
24 |
108 |
if (my $code = $component_class->can("action_for"))
|
338
|
22 |
2 |
if $possible_action
|
341
|
110 |
0 |
if (my $code = $component_class->can($method)) { }
|
351
|
2 |
108 |
&blessed($component_or_class) ? :
|
359
|
0 |
0 |
if $c->debug
|
388
|
917 |
4101 |
if $type->match($c, $path)
|
397
|
0 |
927 |
unless $req->captures
|
399
|
16 |
0 |
if ($c->debug and defined $req->match and length $req->match)
|
406
|
3 |
924 |
if $c->debug and @args
|
423
|
0 |
7860 |
unless $name
|
425
|
5009 |
2851 |
defined $namespace ? :
|
444
|
3131 |
4764 |
unless $path =~ m[/]
|
454
|
0 |
2922 |
unless $action
|
472
|
0 |
2922 |
if $namespace eq "/"
|
476
|
2294 |
628 |
if (length $namespace)
|
501
|
1 |
69 |
$uri eq '' ? :
|
|
70 |
200 |
if defined $uri
|
520
|
97 |
683 |
if $expanded
|
540
|
41602 |
55552 |
if $key eq "Private"
|
542
|
1158 |
54394 |
unless ($registered->{$class})
|
549
|
107 |
1051 |
unless $load_failed
|
559
|
76305 |
209621 |
if ($type->_is_low_precedence) { }
|
569
|
44538 |
165068 |
if $type->register($c, $action)
|
572
|
41776 |
27428 |
unless ($was_registered)
|
595
|
3748 |
65456 |
unless $namespace
|
605
|
65456 |
143314 |
unless $part
|
610
|
6237 |
137077 |
unless ($child)
|
634
|
6 |
7533 |
if ref $comp eq "CODE"
|
635
|
6519 |
1020 |
if $comp->can("register_actions")
|
640
|
158 |
7 |
unless $c->debug
|
648
|
7 |
0 |
$avail_width * 0.25 < 20 ? :
|
649
|
7 |
0 |
$avail_width * 0.5 < 36 ? :
|
659
|
4 |
7 |
unless $prefix =~ m[/$]
|
666
|
45 |
26 |
if $action =~ /^_.*/ and not $c->config->{'show_internal_actions'}
|
675
|
5 |
2 |
if $has_private
|
692
|
0 |
666 |
unless $success
|
716
|
1 |
2 |
if ref $_ eq $name
|
724
|
1158 |
0 |
unless $key =~ /^(Local)?Regexp?/
|
727
|
0 |
0 |
if ($load_failed) { }
|
|
0 |
0 |
elsif (not defined $Catalyst::DispatchType::Regex::VERSION or $Catalyst::DispatchType::Regex::VERSION le '5.90020') { }
|