line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
4
|
|
|
4
|
|
11442
|
use v5.12; |
|
4
|
|
|
|
|
12
|
|
2
|
4
|
|
|
4
|
|
20
|
use strict; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
69
|
|
3
|
4
|
|
|
4
|
|
16
|
use warnings; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
206
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:TOBYINK'; |
7
|
|
|
|
|
|
|
our $VERSION = '0.007'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
use parent qw(Benchmark::Featureset::ParamCheck::Base::DataValidator); |
10
|
4
|
|
|
4
|
|
19
|
use Ref::Util 0.203 (); |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
35
|
|
11
|
4
|
|
|
4
|
|
2672
|
use Ref::Util::XS 0.116 (); |
|
4
|
|
|
|
|
8352
|
|
|
4
|
|
|
|
|
100
|
|
12
|
4
|
|
|
4
|
|
23
|
use Types::Standard 1.001_009 -types; |
|
4
|
|
|
|
|
46
|
|
|
4
|
|
|
|
|
99
|
|
13
|
4
|
|
|
4
|
|
2008
|
use Type::Tiny::XS 0.012 (); |
|
4
|
|
|
|
|
319062
|
|
|
4
|
|
|
|
|
43
|
|
14
|
4
|
|
|
4
|
|
25403
|
use namespace::autoclean; |
|
4
|
|
|
|
|
82
|
|
|
4
|
|
|
|
|
186
|
|
15
|
4
|
|
|
4
|
|
21
|
|
|
4
|
|
|
|
|
36
|
|
|
4
|
|
|
|
|
51
|
|
16
|
|
|
|
|
|
|
use constant long_name => 'Data::Validator with Type::Tiny'; |
17
|
4
|
|
|
4
|
|
307
|
use constant short_name => 'DV-TT'; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
307
|
|
18
|
4
|
|
|
4
|
|
22
|
|
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
478
|
|
19
|
|
|
|
|
|
|
state $check = Data::Validator->new( |
20
|
|
|
|
|
|
|
integer => { isa => Int }, |
21
|
118
|
|
|
118
|
0
|
370
|
hashes => { isa => ArrayRef[HashRef] }, |
22
|
|
|
|
|
|
|
object => { isa => HasMethods[qw/ print close /] }, |
23
|
|
|
|
|
|
|
); |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |