line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package OpenTracing::Reference; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
22
|
use strict; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
101
|
|
4
|
3
|
|
|
3
|
|
15
|
use warnings; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
167
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '1.005'; # VERSION |
7
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:TEAM'; # AUTHORITY |
8
|
|
|
|
|
|
|
|
9
|
3
|
|
|
3
|
|
18
|
use parent qw(OpenTracing::Common); |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
17
|
|
10
|
|
|
|
|
|
|
|
11
|
3
|
|
|
3
|
|
197
|
no indirect; |
|
3
|
|
|
|
|
8
|
|
|
3
|
|
|
|
|
20
|
|
12
|
3
|
|
|
3
|
|
183
|
use utf8; |
|
3
|
|
|
|
|
8
|
|
|
3
|
|
|
|
|
12
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
use constant { |
15
|
3
|
|
|
|
|
490
|
CHILD_OF => 0, |
16
|
|
|
|
|
|
|
FOLLOWS_FROM => 1, |
17
|
3
|
|
|
3
|
|
121
|
}; |
|
3
|
|
|
|
|
15
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=encoding utf8 |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 NAME |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
OpenTracing::Reference - represents a span Reference |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 DESCRIPTION |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=cut |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head2 ref_type |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
The type of reference |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=cut |
34
|
|
|
|
|
|
|
|
35
|
0
|
|
|
0
|
1
|
|
sub ref_type { shift->{ref_type} } |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head2 span |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
The context for this reference. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=cut |
42
|
|
|
|
|
|
|
|
43
|
0
|
|
|
0
|
0
|
|
sub context { shift->{context} } |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
1; |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
__END__ |