blib/lib/Catalyst/View/Template/Pure.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 3 | 6 | 50.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
177 | 0 | 4 | 0 | $key and $params{$key} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
135 | 2 | 5 | 0 | $c->stash->{$stash_key} ||= do { my $view = ref($self)->new(%{$args;}, %{$c->stash;}, 'ctx', $c); &weaken(my $weak_view = $view); my $pure = $pure_class->new('template', $template, 'directives', $directives, 'filters', $filters, 'components', $self->build_comp_hash($c, $view), 'view', $weak_view, %$args); $view->{'pure'} = $pure; $view } |