line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
4
|
|
|
4
|
|
1444
|
use v5.12; |
|
4
|
|
|
|
|
18
|
|
2
|
4
|
|
|
4
|
|
27
|
use strict; |
|
4
|
|
|
|
|
12
|
|
|
4
|
|
|
|
|
64
|
|
3
|
4
|
|
|
4
|
|
16
|
use warnings; |
|
4
|
|
|
|
|
5
|
|
|
4
|
|
|
|
|
211
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:TOBYINK'; |
7
|
|
|
|
|
|
|
our $VERSION = '0.007'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
use parent qw(Benchmark::Featureset::ParamCheck::Base); |
10
|
4
|
|
|
4
|
|
21
|
use Data::Validator 1.07; |
|
4
|
|
|
|
|
11
|
|
|
4
|
|
|
|
|
21
|
|
11
|
4
|
|
|
4
|
|
2049
|
|
|
4
|
|
|
|
|
98071
|
|
|
4
|
|
|
|
|
571
|
|
12
|
|
|
|
|
|
|
my ($class, $times, @args) = @_; |
13
|
|
|
|
|
|
|
my $check = $class->get_named_check; |
14
|
354
|
|
|
354
|
0
|
211418
|
$check->validate(@args) for 1 .. $times; |
15
|
354
|
|
|
|
|
2512
|
return; |
16
|
354
|
|
|
|
|
15664
|
} |
17
|
312
|
|
|
|
|
314713371
|
|
18
|
|
|
|
|
|
|
my ($class, $times, @args) = @_; |
19
|
|
|
|
|
|
|
my $check = $class->get_positional_check; |
20
|
|
|
|
|
|
|
$check->validate(@args) for 1 .. $times; |
21
|
321
|
|
|
321
|
0
|
163418
|
return; |
22
|
321
|
|
|
|
|
1433
|
} |
23
|
321
|
|
|
|
|
11392
|
|
24
|
306
|
|
|
|
|
686804674
|
state $check = do { |
25
|
|
|
|
|
|
|
my $class = shift; |
26
|
|
|
|
|
|
|
my $named = $class->get_named_check(@_); |
27
|
|
|
|
|
|
|
bless({ rules => $named->rules }, 'Data::Validator')->with('StrictSequenced'); |
28
|
321
|
|
|
321
|
0
|
1114
|
}; |
29
|
2
|
|
|
|
|
4
|
} |
30
|
2
|
|
|
|
|
12
|
|
31
|
2
|
|
|
|
|
6651
|
1; |