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             use Kelp::Base 'Kelp::Module';
2 1     1   371  
  1         2  
  1         5  
3             my ( $self, %args ) = @_;
4             $self->register( plus => sub { $_[1] + $args{number} } );
5 3     3 1 6 }
6 3     3   12  
  3         20  
7             1;