Serialized/Server/UCSPI/TCP.pm

filter: Statementstmt 83.3% 15 / 18 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 0.0% 0 / 1 totaltotal 73.0% 19 / 26 CC 2 SCAR 9.8
CC
2
Cov
75%
subject
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.7
« Serialized/ACL/Group/File.pm ↑ Summary Serialized/Client/INET.pm »
1 package RPC::Serialized::Server::UCSPI::TCP;
2 {
3 1 $RPC::Serialized::Server::UCSPI::TCP::VERSION = '1.123630';
4 }
5  
6 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use warnings FATAL => 'all';
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 ▶use base 'RPC::Serialized::Server::UCSPI';
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 ▶use RPC::Serialized::Exceptions;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 0 ▶sub subject {
Subroutine subject: not called CC=2 SCAR=17.9
Pod undocumented
14 0 my $self = shift;
15  
16 my $remote = $ENV{TCPREMOTEINFO}
17 0 ▶ or throw_authz 'TCPREMOTEINFO not set';
Branch: 1 branch
BranchTrueFalseTotal
my $remote = $ENV{"TCPREMOTEINFO"} or throw_authz("TCPREMOTEINFO not set") 0 0 0
18  
19 0 return $remote;
20 }
21  
22 1 1;
23  
24 # ABSTRACT: RPC server managed by DJB's ucspi-tpc
25  
26  
27 __END__
« Serialized/ACL/Group/File.pm ↑ Summary Serialized/Client/INET.pm »