lib/Net/SinFP3/Next/Client.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 25 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
print
2.0
BEGIN
2.0
CRAP 2.0
1 #
2 # $Id: Client.pm,v 008243d3e89a 2018/07/21 14:54:07 gomor $
3 #
4 package Net::SinFP3::Next::Client;
5 use strict;
6 use warnings;
7  
8 use base qw(Net::SinFP3::Next);
9  
10 our @AS = qw(
11 peerhost
12 peerport
13 );
14 __PACKAGE__->cgBuildIndices;
15 __PACKAGE__->cgBuildAccessorsScalar(\@AS);
16  
17 sub new {
18 my $self = shift->SUPER::new(
19 @_,
20 );
21  
22 return $self;
23 }
24  
25 sub print {
26 my $self = shift;
27  
28 my $buf = "[".$self->peerhost."]:".$self->peerport;
29  
30 return $buf;
31 }
32  
33 1;
34  
35 __END__