line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
4
|
|
|
4
|
|
5978
|
use v5.12; |
|
4
|
|
|
|
|
13
|
|
2
|
4
|
|
|
4
|
|
19
|
use strict; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
65
|
|
3
|
4
|
|
|
4
|
|
17
|
use warnings; |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
186
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:TOBYINK'; |
7
|
|
|
|
|
|
|
our $VERSION = '0.007'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
use parent qw(Benchmark::Featureset::ParamCheck::Base::ParamsCheck); |
10
|
4
|
|
|
4
|
|
20
|
use Types::Standard 1.001_009 -types; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
18
|
|
11
|
4
|
|
|
4
|
|
228
|
use Type::Tiny::XS 0.012 (); |
|
4
|
|
|
|
|
56
|
|
|
4
|
|
|
|
|
26
|
|
12
|
4
|
|
|
4
|
|
22360
|
use namespace::autoclean; |
|
4
|
|
|
|
|
58
|
|
|
4
|
|
|
|
|
75
|
|
13
|
4
|
|
|
4
|
|
19
|
|
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
24
|
|
14
|
|
|
|
|
|
|
use constant long_name => 'Params::Check with Type::Tiny'; |
15
|
4
|
|
|
4
|
|
215
|
use constant short_name => 'PC-TT'; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
201
|
|
16
|
4
|
|
|
4
|
|
21
|
|
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
449
|
|
17
|
|
|
|
|
|
|
state $check = +{ |
18
|
|
|
|
|
|
|
integer => { required => 1, allow => Int->compiled_check }, |
19
|
108
|
|
|
108
|
0
|
362
|
hashes => { required => 1, allow => ArrayRef->of(HashRef)->compiled_check }, |
20
|
|
|
|
|
|
|
object => { required => 1, allow => HasMethods->of(qw/ print close /)->compiled_check }, |
21
|
|
|
|
|
|
|
}; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |