line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
4
|
|
|
4
|
|
14320
|
use v5.12; |
|
4
|
|
|
|
|
15
|
|
2
|
4
|
|
|
4
|
|
23
|
use strict; |
|
4
|
|
|
|
|
11
|
|
|
4
|
|
|
|
|
82
|
|
3
|
4
|
|
|
4
|
|
21
|
use warnings; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
268
|
|
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
|
|
21
|
use Params::ValidationCompiler 0.24 qw(validation_for); |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
37
|
|
11
|
4
|
|
|
4
|
|
305
|
use Ref::Util 0.203 (); |
|
4
|
|
|
|
|
53
|
|
|
4
|
|
|
|
|
173
|
|
12
|
4
|
|
|
4
|
|
21
|
use Ref::Util::XS 0.116 (); |
|
4
|
|
|
|
|
58
|
|
|
4
|
|
|
|
|
111
|
|
13
|
4
|
|
|
4
|
|
21
|
use Specio::Declare 0.37; |
|
4
|
|
|
|
|
53
|
|
|
4
|
|
|
|
|
124
|
|
14
|
4
|
|
|
4
|
|
1781
|
use Specio::Library::Builtins 0.37; |
|
4
|
|
|
|
|
213053
|
|
|
4
|
|
|
|
|
27
|
|
15
|
4
|
|
|
4
|
|
2439
|
use namespace::autoclean; |
|
4
|
|
|
|
|
82728
|
|
|
4
|
|
|
|
|
34
|
|
16
|
4
|
|
|
4
|
|
31087
|
|
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
62
|
|
17
|
|
|
|
|
|
|
use constant long_name => 'Params::ValidationCompiler with Specio'; |
18
|
4
|
|
|
4
|
|
380
|
use constant short_name => 'PVC-Specio'; |
|
4
|
|
|
|
|
15
|
|
|
4
|
|
|
|
|
307
|
|
19
|
4
|
|
|
4
|
|
26
|
|
|
4
|
|
|
|
|
10
|
|
|
4
|
|
|
|
|
756
|
|
20
|
|
|
|
|
|
|
state $check = validation_for( |
21
|
|
|
|
|
|
|
params => { |
22
|
58
|
|
|
58
|
0
|
202
|
integer => { type => t('Int') }, |
23
|
|
|
|
|
|
|
hashes => { type => t('ArrayRef', of => t('HashRef')) }, |
24
|
|
|
|
|
|
|
object => { type => object_can_type('Printable', methods => [qw/ print close /]) }, |
25
|
|
|
|
|
|
|
}, |
26
|
|
|
|
|
|
|
); |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
state $check = validation_for( |
30
|
|
|
|
|
|
|
params => [ |
31
|
|
|
|
|
|
|
{ type => t('Int') }, |
32
|
47
|
|
|
47
|
0
|
186
|
{ type => t('ArrayRef', of => t('HashRef')) }, |
33
|
|
|
|
|
|
|
{ type => object_can_type('Printable', methods => [qw/ print close /]) }, |
34
|
|
|
|
|
|
|
], |
35
|
|
|
|
|
|
|
); |
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
1; |