File Coverage

lib/Spreadsheet/Engine/Function/DAY.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 15 15 100.0


line stmt bran cond sub pod time code
1             package Spreadsheet::Engine::Function::DAY;
2              
3 28     28   180 use strict;
  28         59  
  28         920  
4 28     28   146 use warnings;
  28         60  
  28         735  
5              
6 28     28   208 use base 'Spreadsheet::Engine::Fn::ymd';
  28         575  
  28         13003  
7              
8             sub _calculate {
9 92     92   257 my ($self, $y, $m, $d) = @_;
10 92         2071 return $d;
11             }
12              
13             1;
14              
15             __END__