| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Tapper::Reports::Web::Controller::Tapper::Reports::Info; |
|
2
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:TAPPER'; |
|
3
|
|
|
|
|
|
|
$Tapper::Reports::Web::Controller::Tapper::Reports::Info::VERSION = '5.0.15'; |
|
4
|
11
|
|
|
11
|
|
6073
|
use strict; |
|
|
11
|
|
|
|
|
29
|
|
|
|
11
|
|
|
|
|
353
|
|
|
5
|
11
|
|
|
11
|
|
61
|
use warnings; |
|
|
11
|
|
|
|
|
31
|
|
|
|
11
|
|
|
|
|
299
|
|
|
6
|
|
|
|
|
|
|
|
|
7
|
11
|
|
|
11
|
|
59
|
use Data::Dumper; |
|
|
11
|
|
|
|
|
34
|
|
|
|
11
|
|
|
|
|
556
|
|
|
8
|
|
|
|
|
|
|
|
|
9
|
11
|
|
|
11
|
|
68
|
use parent 'Tapper::Reports::Web::Controller::Base'; |
|
|
11
|
|
|
|
|
28
|
|
|
|
11
|
|
|
|
|
73
|
|
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub firstid :Path('firstid') :Args(0) { |
|
12
|
1
|
|
|
1
|
|
1203
|
my ( $self, $c ) = @_; |
|
13
|
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
# SELECT MIN(id) FROM report; |
|
15
|
1
|
|
|
|
|
6
|
my $first_id = $c->model('TestrunDB')->resultset('Report')->get_column("id")->min; |
|
16
|
1
|
|
|
|
|
3999
|
$c->response->body($first_id); |
|
17
|
11
|
|
|
11
|
|
1679
|
} |
|
|
11
|
|
|
|
|
36
|
|
|
|
11
|
|
|
|
|
78
|
|
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub lastid :Path('lastid') :Args(0) { |
|
20
|
2
|
|
|
2
|
0
|
2234
|
my ( $self, $c ) = @_; |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
# SELECT MAX(id) FROM report; |
|
23
|
2
|
|
|
|
|
19
|
my $last_id = $c->model('TestrunDB')->resultset('Report')->get_column("id")->max; |
|
24
|
2
|
|
|
|
|
12442
|
$c->response->body($last_id); |
|
25
|
11
|
|
|
11
|
|
133569
|
} |
|
|
11
|
|
|
|
|
33
|
|
|
|
11
|
|
|
|
|
58
|
|
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
1; |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
__END__ |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=pod |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=encoding UTF-8 |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 NAME |
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
Tapper::Reports::Web::Controller::Tapper::Reports::Info |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 AUTHORS |
|
40
|
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=over 4 |
|
42
|
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=item * |
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
AMD OSRC Tapper Team <tapper@amd64.org> |
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=item * |
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Tapper Team <tapper-ops@amazon.com> |
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=back |
|
52
|
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
This software is Copyright (c) 2020 by Advanced Micro Devices, Inc.. |
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
This is free software, licensed under: |
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
The (two-clause) FreeBSD License |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=cut |