line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Monitis::VisitorTrackers; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
38
|
|
4
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
39
|
|
5
|
|
|
|
|
|
|
require Carp; |
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
5
|
use base 'Monitis'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
287
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub get { |
10
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
11
|
|
|
|
|
|
|
|
12
|
0
|
|
|
|
|
|
return $self->api_get('visitorTrackingTests'); |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub get_info { |
16
|
0
|
|
|
0
|
1
|
|
my ($self, @params) = @_; |
17
|
|
|
|
|
|
|
|
18
|
0
|
|
|
|
|
|
my @mandatory = qw/siteId/; |
19
|
0
|
|
|
|
|
|
my @optional = qw//; |
20
|
|
|
|
|
|
|
|
21
|
0
|
|
|
|
|
|
my $params = $self->prepare_params(\@params, \@mandatory, \@optional); |
22
|
|
|
|
|
|
|
|
23
|
0
|
|
|
|
|
|
return $self->api_get('visitorTrackingInfo' => $params); |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
sub get_results { |
27
|
0
|
|
|
0
|
1
|
|
my ($self, @params) = @_; |
28
|
|
|
|
|
|
|
|
29
|
0
|
|
|
|
|
|
my @mandatory = qw/siteId year month day/; |
30
|
0
|
|
|
|
|
|
my @optional = qw/timezoneoffset/; |
31
|
|
|
|
|
|
|
|
32
|
0
|
|
|
|
|
|
my $params = $self->prepare_params(\@params, \@mandatory, \@optional); |
33
|
|
|
|
|
|
|
|
34
|
0
|
|
|
|
|
|
return $self->api_get('visitorTrackingResults' => $params); |
35
|
|
|
|
|
|
|
} |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
__END__ |