lib/Beekeeper/JSONRPC.pm

filter: Statementstmt 71.4% 20 / 28 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 6 / 10 Podpod 0.0% 0 / 4 totaltotal 61.9% 26 / 42 CC 1 SCAR 3.4
CC
1
Cov
71%
request
2.0
notification
2.0
response
2.0
CRAP 1.4
« lib/Beekeeper/Worker/Extension/RemoteSession.pm ↑ Summary lib/Beekeeper/JSONRPC/Response.pm »
1 package Beekeeper::JSONRPC;
2  
3 11 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 11 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 11 our $VERSION = '0.10';
7  
8 11 ▶use Beekeeper::JSONRPC::Request;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 11 ▶use Beekeeper::JSONRPC::Notification;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 11 ▶use Beekeeper::JSONRPC::Response;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 11 ▶use Beekeeper::JSONRPC::Error;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13  
14 0 ▶sub request {
Subroutine request: not called CC=1 SCAR=6.9
Pod undocumented
15 0 my $class = shift;
16 0 Beekeeper::JSONRPC::Request->new(@_);
17 }
18  
19 0 ▶sub notification {
Subroutine notification: not called CC=1 SCAR=6.9
Pod undocumented
20 0 my $class = shift;
21 0 Beekeeper::JSONRPC::Notification->new(@_);
22 }
23  
24 0 ▶sub response {
Subroutine response: not called CC=1 SCAR=6.9
Pod undocumented
25 0 my $class = shift;
26 0 Beekeeper::JSONRPC::Response->new(@_);
27 }
28  
29 0 ▶sub error {
Subroutine error: not called CC=1 SCAR=6.9
Pod undocumented
30 0 my $class = shift;
31 0 Beekeeper::JSONRPC::Error->new(@_);
32 }
33  
34 11 1;
35  
36 __END__
« lib/Beekeeper/Worker/Extension/RemoteSession.pm ↑ Summary lib/Beekeeper/JSONRPC/Response.pm »