File Coverage

blib/lib/Kelp/Module/Null.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod 1 1 100.0
total 10 10 100.0


line stmt bran cond sub pod time code
1             package Kelp::Module::Null;
2 1     1   486 use Kelp::Base 'Kelp::Module';
  1         2  
  1         6  
3              
4             sub build {
5 3     3 1 7 my ( $self, %args ) = @_;
6 3     3   16 $self->register( plus => sub { $_[1] + $args{number} } );
  3         23  
7             }
8              
9             1;