Inference/Node.pm untested

filter: Statementstmt 0.0% 0 / 8 Branchbran n/a Conditioncond 0.0% 0 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
set
2.0
feature
2.0
CRAP 2.0
1 package Evo::Inference::Node;
2  
3 sub new {
4 my ($class) = @_;
5  
6 my $self = {
7 };
8  
9 $class = ref($class) || $class;
10  
11 bless $self, $class;
12 }
13  
14 sub set {
15 my ($self, $v) = @_;
16  
17 $v->set($self);
18 }
19  
20 sub feature {
21 my ($self, $v) = @_;
22  
23 return $v->feature($self);
24 }
25  
26 1;