Object/Metadata/Column/Epoch.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 26 CC 1 SCAR 6.9
CC
1
Cov
0%
type
2.0
should_inline_value
2.0
format_value
2.0
CRAP 2.0
1 package Rose::DB::Object::Metadata::Column::Epoch;
2  
3 use strict;
4  
5 use Rose::DB::Object::MakeMethods::Date;
6  
7 use Rose::DB::Object::Metadata::Column::Date;
8 our @ISA = qw(Rose::DB::Object::Metadata::Column::Date);
9  
10 our $VERSION = '0.788';
11  
12 foreach my $type (__PACKAGE__->available_method_types)
13 {
14 __PACKAGE__->method_maker_class($type => 'Rose::DB::Object::MakeMethods::Date');
15 __PACKAGE__->method_maker_type($type => 'epoch');
16 }
17  
18 sub type { 'epoch' }
19  
20 sub should_inline_value { 0 }
21  
22 sub format_value { $_[2]->epoch }
23  
24 1;
25  
26 __END__