File Coverage

lib/Beekeeper/JSONRPC.pm
Criterion Covered Total %
statement 18 26 69.2
branch n/a
condition n/a
subroutine 6 10 60.0
pod 0 4 0.0
total 24 40 60.0


line stmt bran cond sub pod time code
1             package Beekeeper::JSONRPC;
2              
3 11     11   1071 use strict;
  11         23  
  11         363  
4 11     11   59 use warnings;
  11         21  
  11         580  
5              
6             our $VERSION = '0.09';
7              
8 11     11   4982 use Beekeeper::JSONRPC::Request;
  11         27  
  11         387  
9 11     11   4714 use Beekeeper::JSONRPC::Notification;
  11         31  
  11         357  
10 11     11   4900 use Beekeeper::JSONRPC::Response;
  11         27  
  11         356  
11 11     11   4927 use Beekeeper::JSONRPC::Error;
  11         32  
  11         1470  
12              
13              
14             sub request {
15 0     0 0   my $class = shift;
16 0           Beekeeper::JSONRPC::Request->new(@_);
17             }
18              
19             sub notification {
20 0     0 0   my $class = shift;
21 0           Beekeeper::JSONRPC::Notification->new(@_);
22             }
23              
24             sub response {
25 0     0 0   my $class = shift;
26 0           Beekeeper::JSONRPC::Response->new(@_);
27             }
28              
29             sub error {
30 0     0 0   my $class = shift;
31 0           Beekeeper::JSONRPC::Error->new(@_);
32             }
33              
34             1;
35              
36             __END__