line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package CatalystX::Eta::Controller::AutoResultGET; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
1191
|
use Moose::Role; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
14
|
|
4
|
|
|
|
|
|
|
requires 'result_GET'; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
around result_GET => \&AutoResult_around_result_GET; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub AutoResult_around_result_GET { |
9
|
3
|
|
|
3
|
|
3728
|
my $orig = shift; |
10
|
3
|
|
|
|
|
7
|
my $self = shift; |
11
|
3
|
|
|
|
|
8
|
my ($c) = @_; |
12
|
|
|
|
|
|
|
|
13
|
3
|
|
|
|
|
14
|
my $it = $c->stash->{ $self->config->{object_key} }; |
14
|
|
|
|
|
|
|
|
15
|
3
|
|
|
|
|
370
|
my $func = $self->config->{build_row}; |
16
|
|
|
|
|
|
|
|
17
|
3
|
|
|
|
|
172
|
my $ref = $func->( $it, $self, $c ); |
18
|
|
|
|
|
|
|
|
19
|
3
|
|
|
|
|
454
|
$self->status_ok( $c, entity => $ref ); |
20
|
|
|
|
|
|
|
|
21
|
3
|
|
|
|
|
797
|
$self->$orig(@_); |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |