line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
4
|
|
|
4
|
|
10751
|
use v5.12; |
|
4
|
|
|
|
|
13
|
|
2
|
4
|
|
|
4
|
|
18
|
use strict; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
66
|
|
3
|
4
|
|
|
4
|
|
64
|
use warnings; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
199
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:TOBYINK'; |
7
|
|
|
|
|
|
|
our $VERSION = '0.007'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
use parent qw(Benchmark::Featureset::ParamCheck::Base::PV); |
10
|
4
|
|
|
4
|
|
19
|
use Params::Validate 1.26 qw(:types); |
|
4
|
|
|
|
|
42
|
|
|
4
|
|
|
|
|
18
|
|
11
|
4
|
|
|
4
|
|
174
|
use namespace::autoclean; |
|
4
|
|
|
|
|
41
|
|
|
4
|
|
|
|
|
588
|
|
12
|
4
|
|
|
4
|
|
22
|
|
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
13
|
|
13
|
|
|
|
|
|
|
use constant long_name => 'Params::Validate'; |
14
|
4
|
|
|
4
|
|
182
|
use constant short_name => 'PV'; |
|
4
|
|
|
|
|
89
|
|
|
4
|
|
|
|
|
195
|
|
15
|
4
|
|
|
4
|
|
20
|
|
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
920
|
|
16
|
|
|
|
|
|
|
state $check = { |
17
|
|
|
|
|
|
|
integer => { type => SCALAR, regex => qr/\A-?[0-9]+\z/ }, |
18
|
|
|
|
|
|
|
hashes => { type => ARRAYREF, callbacks => { hashes => sub { !grep ref ne 'HASH', @{$_[0]} } } }, |
19
|
|
|
|
|
|
|
object => { type => OBJECT, can => [qw/print close/] }, |
20
|
1000012
|
|
|
1000012
|
|
12606314
|
}; |
|
1000012
|
|
|
|
|
6448678
|
|
21
|
118
|
|
|
118
|
0
|
551
|
} |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
state $check = [ |
24
|
|
|
|
|
|
|
{ type => SCALAR, regex => qr/\A-?[0-9]+\z/ }, |
25
|
|
|
|
|
|
|
{ type => ARRAYREF, callbacks => { hashes => sub { !grep ref ne 'HASH', @{$_[0]} } } }, |
26
|
|
|
|
|
|
|
{ type => OBJECT, can => [qw/print close/] }, |
27
|
|
|
|
|
|
|
]; |
28
|
1000006
|
|
|
1000006
|
|
6384051
|
} |
|
1000006
|
|
|
|
|
9874761
|
|
29
|
107
|
|
|
107
|
0
|
287
|
|
30
|
|
|
|
|
|
|
1; |