File Coverage

blib/lib/App/RunCron/Reporter/Code.pm
Criterion Covered Total %
statement 10 10 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 0 2 0.0
total 14 16 87.5


line stmt bran cond sub pod time code
1             package App::RunCron::Reporter::Code;
2 1     1   7 use strict;
  1         3  
  1         48  
3 1     1   7 use warnings;
  1         2  
  1         108  
4              
5             sub new {
6 1     1 0 3 my ($class, $code) = @_;
7 1         9 bless $code, $class;
8             }
9              
10             sub run {
11 1     1 0 3 my ($self, $runner) = @_;
12 1         14 $self->($runner);
13             }
14              
15             1;