File Coverage

blib/lib/OpenTracing/Common.pm
Criterion Covered Total %
statement 14 14 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 0 1 0.0
total 19 20 95.0


line stmt bran cond sub pod time code
1             package OpenTracing::Common;
2              
3 4     4   1736 use strict;
  4         10  
  4         136  
4 4     4   19 use warnings;
  4         8  
  4         179  
5              
6             our $VERSION = '1.006'; # VERSION
7             our $AUTHORITY = 'cpan:TEAM'; # AUTHORITY
8              
9 4     4   473 no indirect;
  4         1150  
  4         39  
10 4     4   801 use utf8;
  4         29  
  4         20  
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             sub new {
25 5     5 0 28344 my ($class, %args) = @_;
26 5         43 bless \%args, $class
27             }
28              
29             1;
30              
31             __END__