line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package WebService::Bitly::Result::ClicksByMinute; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
8
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
41
|
|
4
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
37
|
|
5
|
1
|
|
|
1
|
|
6
|
use Carp; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
95
|
|
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
7
|
use base qw(WebService::Bitly::Result); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
118
|
|
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
6
|
use WebService::Bitly::Util; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
17
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub new { |
12
|
1
|
|
|
1
|
1
|
3
|
my ($class, $result_clicks) = @_; |
13
|
1
|
|
|
|
|
11
|
my $self = $class->SUPER::new($result_clicks); |
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
|
|
25
|
$self->{results} |
16
|
|
|
|
|
|
|
= WebService::Bitly::Util->make_entries($self->data->{clicks_by_minute}); |
17
|
|
|
|
|
|
|
|
18
|
1
|
|
|
|
|
24
|
return $self; |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
sub results { |
22
|
1
|
|
|
1
|
0
|
469
|
my $results = shift->{results}; |
23
|
1
|
50
|
|
|
|
105
|
return wantarray ? @$results : $results; |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |