line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
4
|
|
|
4
|
|
12718
|
use v5.12; |
|
4
|
|
|
|
|
17
|
|
2
|
4
|
|
|
4
|
|
23
|
use strict; |
|
4
|
|
|
|
|
12
|
|
|
4
|
|
|
|
|
83
|
|
3
|
4
|
|
|
4
|
|
16
|
use warnings; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
239
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:TOBYINK'; |
7
|
|
|
|
|
|
|
our $VERSION = '0.006'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
use parent qw(Benchmark::Featureset::ParamCheck::Base::DataValidator); |
10
|
4
|
|
|
4
|
|
25
|
use Ref::Util 0.203 (); |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
61
|
|
11
|
4
|
|
|
4
|
|
1917
|
use Ref::Util::XS 0.116 (); |
|
4
|
|
|
|
|
5789
|
|
|
4
|
|
|
|
|
115
|
|
12
|
4
|
|
|
4
|
|
27
|
use Types::Standard 1.001_009 -types; |
|
4
|
|
|
|
|
56
|
|
|
4
|
|
|
|
|
113
|
|
13
|
4
|
|
|
4
|
|
2156
|
use Type::Tiny::XS 0.012 (); |
|
4
|
|
|
|
|
327755
|
|
|
4
|
|
|
|
|
60
|
|
14
|
4
|
|
|
4
|
|
18141
|
use namespace::autoclean; |
|
4
|
|
|
|
|
74
|
|
|
4
|
|
|
|
|
153
|
|
15
|
4
|
|
|
4
|
|
23
|
|
|
4
|
|
|
|
|
34
|
|
|
4
|
|
|
|
|
44
|
|
16
|
|
|
|
|
|
|
use constant long_name => 'Data::Validator with Type::Tiny'; |
17
|
4
|
|
|
4
|
|
355
|
use constant short_name => 'DV-TT'; |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
283
|
|
18
|
4
|
|
|
4
|
|
20
|
|
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
480
|
|
19
|
|
|
|
|
|
|
state $check = Data::Validator->new( |
20
|
|
|
|
|
|
|
integer => { isa => Int }, |
21
|
58
|
|
|
58
|
0
|
171
|
hashes => { isa => ArrayRef[HashRef] }, |
22
|
|
|
|
|
|
|
object => { isa => HasMethods[qw/ print close /] }, |
23
|
|
|
|
|
|
|
); |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |