line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
4
|
|
|
4
|
|
14346
|
use v5.12; |
|
4
|
|
|
|
|
15
|
|
2
|
4
|
|
|
4
|
|
21
|
use strict; |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
82
|
|
3
|
4
|
|
|
4
|
|
21
|
use warnings; |
|
4
|
|
|
|
|
14
|
|
|
4
|
|
|
|
|
320
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:TOBYINK'; |
7
|
|
|
|
|
|
|
our $VERSION = '0.006'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
use parent qw(Benchmark::Featureset::ParamCheck::Base::PVC); |
10
|
4
|
|
|
4
|
|
25
|
use Params::ValidationCompiler 0.24 qw(validation_for); |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
30
|
|
11
|
4
|
|
|
4
|
|
292
|
use Ref::Util 0.203 (); |
|
4
|
|
|
|
|
68
|
|
|
4
|
|
|
|
|
218
|
|
12
|
4
|
|
|
4
|
|
25
|
use Ref::Util::XS 0.116 (); |
|
4
|
|
|
|
|
51
|
|
|
4
|
|
|
|
|
81
|
|
13
|
4
|
|
|
4
|
|
23
|
use Types::Standard 1.001_009 -types; |
|
4
|
|
|
|
|
63
|
|
|
4
|
|
|
|
|
136
|
|
14
|
4
|
|
|
4
|
|
25
|
use Type::Tiny::XS 0.012 (); |
|
4
|
|
|
|
|
132
|
|
|
4
|
|
|
|
|
47
|
|
15
|
4
|
|
|
4
|
|
19721
|
use namespace::autoclean; |
|
4
|
|
|
|
|
73
|
|
|
4
|
|
|
|
|
89
|
|
16
|
4
|
|
|
4
|
|
23
|
|
|
4
|
|
|
|
|
14
|
|
|
4
|
|
|
|
|
29
|
|
17
|
|
|
|
|
|
|
use constant long_name => 'Params::ValidationCompiler with Type::Tiny'; |
18
|
4
|
|
|
4
|
|
253
|
use constant short_name => 'PVC-TT'; |
|
4
|
|
|
|
|
13
|
|
|
4
|
|
|
|
|
246
|
|
19
|
4
|
|
|
4
|
|
25
|
|
|
4
|
|
|
|
|
16
|
|
|
4
|
|
|
|
|
673
|
|
20
|
|
|
|
|
|
|
state $check = validation_for( |
21
|
|
|
|
|
|
|
params => { |
22
|
58
|
|
|
58
|
0
|
218
|
integer => { type => Int }, |
23
|
|
|
|
|
|
|
hashes => { type => ArrayRef[HashRef] }, |
24
|
|
|
|
|
|
|
object => { type => HasMethods[qw/ print close /] }, |
25
|
|
|
|
|
|
|
}, |
26
|
|
|
|
|
|
|
); |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
state $check = validation_for( |
30
|
|
|
|
|
|
|
params => [ |
31
|
|
|
|
|
|
|
{ type => Int }, |
32
|
47
|
|
|
47
|
0
|
157
|
{ type => ArrayRef[HashRef] }, |
33
|
|
|
|
|
|
|
{ type => HasMethods[qw/ print close /] }, |
34
|
|
|
|
|
|
|
], |
35
|
|
|
|
|
|
|
); |
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
1; |