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   1515 use v5.12;
  4         14  
2 4     4   18 use strict;
  4         10  
  4         68  
3 4     4   17 use warnings;
  4         8  
  4         201  
4              
5              
6             our $AUTHORITY = 'cpan:TOBYINK';
7             our $VERSION = '0.006';
8              
9             use parent qw(Benchmark::Featureset::ParamCheck::Base);
10 4     4   22 use MooseX::Params::Validate 0.21;
  4         6  
  4         26  
11 4     4   1998 use namespace::autoclean;
  4         296811  
  4         29  
12 4     4   1746  
  4         10  
  4         46  
13             my ($class, $times, @args) = @_;
14             my $check = $class->get_named_check;
15 116     116 0 167768 validated_hash(\@args, %$check) for 1 .. $times;
16 116         818 return;
17 116         8706 }
18 88         212261711  
19             my ($class, $times, @args) = @_;
20             my $check = $class->get_positional_check;
21             pos_validated_list(\@args, @$check) for 1 .. $times;
22 94     94 0 115370 return;
23 94         694 }
24 94         13649  
25 84         198137986 1;