Eulerian/EDW/Sql/Then.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond 0.0% 0 / 5 MC/DCmcdc 0.0% 0 / 3 Subroutinesub 0.0% 0 / 5 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 32 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
formula
2.0
str
2.0
CRAP 2.0
1 use strict; use warnings;
2  
3 package API::Eulerian::EDW::Sql::Then;
4  
5 sub new
6 {
7 my $proto = shift;
8 my $class = ref( $proto ) || $proto;
9 my $setup = shift;
10 return bless( {
11 formula => $setup->{ formula } || undef
12 }
13 );
14 }
15  
16 sub formula
17 {
18 my ( $self ) = @_;
19 return $self->{ formula };
20 }
21  
22 sub str
23 {
24 my ( $self ) = @_;
25 return $self->{ formula };
26 }
27  
28 1;
29  
30 __END__