File Coverage

lib/Spreadsheet/Engine/Function/COUNTBLANK.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 1 1 100.0
total 18 18 100.0


line stmt bran cond sub pod time code
1             package Spreadsheet::Engine::Function::COUNTBLANK;
2              
3 28     28   149 use strict;
  28         57  
  28         920  
4 28     28   148 use warnings;
  28         57  
  28         726  
5              
6 28     28   142 use base 'Spreadsheet::Engine::Fn::counter';
  28         56  
  28         6395  
7              
8             sub calculate {
9             return sub {
10 71     71   1644 my $op = shift;
11 71         203 return $op->is_blank;
12 10     10 1 72 };
13             }
14              
15             1;
16              
17             __END__