| line |
true |
false |
branch |
|
33
|
0 |
178 |
unless chdir $self->{'cf_dir'} |
|
40
|
20 |
2 |
if ref $err |
|
43
|
178 |
0 |
if (my $charset = $self->header_charset) |
|
62
|
0 |
142 |
if (defined $type and my $subpath = $prop->{'cf_subpath'}) |
|
63
|
0 |
0 |
if $type ne 'action' |
|
68
|
75 |
67 |
if (not defined $type and $self->{'cf_use_subpath'} and my $subpath = $prop->{'cf_subpath'}) { } |
|
70
|
0 |
75 |
unless (my $tmpl = $trans->find_file($file)) |
|
73
|
1 |
74 |
unless (($part, my($formal, $actual)) = $tmpl->match_subroutes($subpath)) |
|
79
|
0 |
74 |
unless ($pkg = $trans->find_product('perl', $tmpl)) |
|
83
|
0 |
74 |
unless ($sub = $pkg->can($part->method_name)) |
|
88
|
74 |
0 |
unless $self->{'cf_dont_map_args'} |
|
94
|
65 |
2 |
unless $self->{'cf_dont_map_args'} or $part->isa($trans->Action) |
|
97
|
0 |
141 |
unless ($part->public) |
|
112
|
91 |
87 |
if ($prop->{'cf_is_index'}) |
|
115
|
30 |
61 |
if ($sub_fn ne '' and my $action = $self->get_action_handler($sub_fn, 1)) |
|
124
|
0 |
6 |
unless my $action = $self->get_action_handler($file) |
|
148
|
17 |
2 |
if not defined $age and $can_be_missing |
|
156
|
0 |
34 |
if (not defined $item) { } |
|
|
30 |
4 |
elsif ($item->[1]) { } |
|
|
0 |
4 |
elsif (not defined($age = -M $path)) { } |
|
|
3 |
1 |
elsif ($item->[-1] == $age) { } |
|
171
|
33 |
36 |
unless defined $item and $item->[0] |
|
172
|
0 |
36 |
wantarray ? : |
|
193
|
0 |
0 |
unless $self->{'cf_header_charset'} or $self->{'cf_output_encoding'} or $YATT::Lite::WebMVC0::DirApp::SYS->header_charset |
|
201
|
0 |
0 |
unless ($self->{'locale_cache'}{$lang}) |
|
202
|
0 |
0 |
if (-r (my $fn = $self->fn_msgfile($lang))) |
|
224
|
4 |
7 |
if (my $code = $err->{'cf_http_status_code'}) { } |
|
|
5 |
2 |
elsif ($code = try_invoke($errcon, ['cget', 'status'])) { } |
|
233
|
0 |
11 |
unless ($self->is_default_cgen_ready) |
|
239
|
11 |
0 |
unless (($sub, $pkg) = $self->find_renderer($type, 'ignore_error', 1)) |
|
240
|
10 |
1 |
if ($err->{'cf_http_status_code'} or $self->{'cf_overwrite_status_code_for_errors_as'}) { } |
|
261
|
0 |
0 |
unless defined $name |