line |
true |
false |
branch |
237
|
3 |
31 |
$package->can($action) ? : |
251
|
0 |
14 |
unless $tab |
252
|
0 |
14 |
unless $nav_item |
254
|
0 |
28 |
-e "$_/$object/$tab.html.ep" ? : |
255
|
0 |
28 |
-e "$_/$tab.html.ep" ? : |
258
|
0 |
14 |
if $app->renderer->get_data_template({'template', $tab, 'format', 'html', 'handler', 'ep'}) |
259
|
1 |
13 |
if $app->renderer->get_data_template({'template', "$object/$tab", 'format', 'html', 'handler', 'ep'}) |
261
|
14 |
0 |
$routes->can('namespaces') ? : |
262
|
10 |
4 |
unless $namespaces and @$namespaces |
266
|
1 |
13 |
if $template |
278
|
2 |
12 |
if $found_controller |
279
|
2 |
12 |
if $found_controller |
288
|
0 |
40 |
-e "$_/$object/$tab.html.ep" ? : |
289
|
0 |
40 |
-e "$_/$tab.html.ep" ? : |
292
|
0 |
20 |
if $app->renderer->get_data_template({'template', $tab, 'format', 'html', 'handler', 'ep'}) |
293
|
1 |
19 |
if $app->renderer->get_data_template({'template', "$object/$tab", 'format', 'html', 'handler', 'ep'}) |
295
|
20 |
0 |
$routes->can('namespaces') ? : |
296
|
17 |
3 |
unless $namespaces and @$namespaces |
299
|
1 |
19 |
if $found_controller |
300
|
1 |
19 |
if $default_template |
310
|
8 |
0 |
if ($key) { } |
311
|
0 |
8 |
if (grep {-e "$_/$object/$key/$tab.html.ep";} @{$app->renderer->paths;} or $c->app->renderer->get_data_template({'template', "$object/$key/$tab", 'format', 'html', 'handler', 'ep'})) |
317
|
0 |
0 |
if grep {-e "$_/$object/none_selected.html.ep";} @{$app->renderer->paths;} |
324
|
0 |
8 |
unless $key |
325
|
8 |
0 |
$key ? : |
328
|
1 |
19 |
if $found_controller |
340
|
4 |
4 |
unless (ref $_) |
345
|
0 |
4 |
unless $$_{'many'} |
349
|
0 |
4 |
unless $$_{'one'} |
362
|
2 |
2 |
if (my $menu = $$conf{'menu'}) |
366
|
0 |
12 |
unless $$conf{$_} |
383
|
0 |
4 |
unless $nav |
387
|
0 |
8 |
unless my $items = $$sidebar{$nav_item} |
391
|
14 |
9 |
if ($action) { } |
398
|
0 |
9 |
unless (my $tabs = $$tabs{$subnav_item}) |
399
|
0 |
9 |
if $tab_done{$subnav_item}++ |
416
|
0 |
0 |
unless $c->model_class->can('autocomplete') |
424
|
0 |
8 |
unless $first |
439
|
0 |
30 |
if (my $ns = $$conf{'model_namespace'}) |
442
|
30 |
0 |
unless $$conf{'model_class'} |
448
|
0 |
25 |
unless my $for = shift() || $c->current_object |
449
|
0 |
25 |
unless $$conf{'tabs'}{$for} |
454
|
5 |
54 |
unless $c->stash('object') |
458
|
0 |
22 |
unless $c->stash('tab') |
473
|
0 |
0 |
$what =~ /^[aeiou]/ ? : |