File Coverage

blib/lib/OpenTracing/Reference.pm
Criterion Covered Total %
statement 18 20 90.0
branch n/a
condition n/a
subroutine 6 8 75.0
pod 1 2 50.0
total 25 30 83.3


line stmt bran cond sub pod time code
1             package OpenTracing::Reference;
2              
3 3     3   21 use strict;
  3         7  
  3         90  
4 3     3   16 use warnings;
  3         6  
  3         176  
5              
6             our $VERSION = '1.006'; # VERSION
7             our $AUTHORITY = 'cpan:TEAM'; # AUTHORITY
8              
9 3     3   18 use parent qw(OpenTracing::Common);
  3         6  
  3         13  
10              
11 3     3   178 no indirect;
  3         5  
  3         13  
12 3     3   187 use utf8;
  3         5  
  3         23  
13              
14             use constant {
15 3         489 CHILD_OF => 0,
16             FOLLOWS_FROM => 1,
17 3     3   132 };
  3         7  
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__