OpenTracing/Common.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 1 totaltotal 95.6% 22 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« OpenTracing.pm ↑ Summary OpenTracing/Protocol.pm »
1 package OpenTracing::Common;
2  
3 19 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 19 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 19 our $VERSION = '1.006'; # VERSION
7 19 our $AUTHORITY = 'cpan:TEAM'; # AUTHORITY
8  
9 19 ▶no indirect;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 19 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 =encoding utf8
13  
14 =head1 NAME
15  
16 OpenTracing::Common - provides common logic between OpenTracing classes
17  
18 =head1 DESCRIPTION
19  
20 No user-serviceable parts inside. Currently just provides a standard constructor.
21  
22 =cut
23  
24 1 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
25 1 my ($class, %args) = @_;
26 1 bless \%args, $class
27 }
28  
29 19 1;
30  
31 __END__
« OpenTracing.pm ↑ Summary OpenTracing/Protocol.pm »