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

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