File Coverage

blib/lib/Benchmark/Featureset/ParamCheck/Base/MXPV.pm
Criterion Covered Total %
statement 25 25 100.0
branch n/a
condition n/a
subroutine 8 8 100.0
pod 0 2 0.0
total 33 35 94.2


line stmt bran cond sub pod time code
1 4     4   1442 use v5.12;
  4         10  
2 4     4   18 use strict;
  4         7  
  4         61  
3 4     4   15 use warnings;
  4         7  
  4         218  
4              
5              
6             our $AUTHORITY = 'cpan:TOBYINK';
7             our $VERSION = '0.007';
8              
9             use parent qw(Benchmark::Featureset::ParamCheck::Base);
10 4     4   19 use MooseX::Params::Validate 0.21;
  4         6  
  4         24  
11 4     4   1954 use namespace::autoclean;
  4         263130  
  4         24  
12 4     4   1502  
  4         9  
  4         35  
13             my ($class, $times, @args) = @_;
14             my $check = $class->get_named_check;
15 236     236 0 141486 validated_hash(\@args, %$check) for 1 .. $times;
16 236         1680 return;
17 236         5145 }
18 208         132898951  
19             my ($class, $times, @args) = @_;
20             my $check = $class->get_positional_check;
21             pos_validated_list(\@args, @$check) for 1 .. $times;
22 214     214 0 124032 return;
23 214         1360 }
24 214         10483  
25 204         116687062 1;