OpenTracing/Reference.pm

filter: Statementstmt 91.3% 21 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 6 / 8 Podpod 50.0% 1 / 2 totaltotal 84.8% 28 / 33 CC 1 SCAR 2.2
CC
1
Cov
91%
ref_type
2.0
context
2.0
BEGIN
1.0
CRAP 1.2
« OpenTracing/Tag.pm ↑ Summary OpenTracing.pm »
1 package OpenTracing::Reference;
2  
3 10 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 10 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 10 our $VERSION = '1.006'; # VERSION
7 10 our $AUTHORITY = 'cpan:TEAM'; # AUTHORITY
8  
9 10 ▶use parent qw(OpenTracing::Common);
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 10 ▶no indirect;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 10 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 10 ▶use constant {
Subroutine BEGIN: called CC=1 SCAR=0.0
15 10 CHILD_OF => 0,
16 FOLLOWS_FROM => 1,
17 10 };
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 ▶sub ref_type { shift->{ref_type} }
Subroutine ref_type: not called CC=1 SCAR=6.9
Pod documented
36  
37 =head2 span
38  
39 The context for this reference.
40  
41 =cut
42  
43 0 ▶sub context { shift->{context} }
Subroutine context: not called CC=1 SCAR=6.9
Pod undocumented
44  
45 10 1;
46  
47 __END__
« OpenTracing/Tag.pm ↑ Summary OpenTracing.pm »