File Coverage

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


line stmt bran cond sub pod time code
1             package Spreadsheet::Engine::Function::LOWER;
2              
3 28     28   160 use strict;
  28         54  
  28         1031  
4 28     28   268 use warnings;
  28         247  
  28         715  
5              
6 28     28   143 use base 'Spreadsheet::Engine::Fn::text';
  28         58  
  28         4552  
7              
8             sub calculate {
9 37     37 1 1179 my ($self, $string) = @_;
10 37         187 return lc $string;
11             }
12              
13             1;
14              
15             __END__