line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
19
|
|
|
19
|
|
131
|
use strict; |
|
19
|
|
|
|
|
37
|
|
|
19
|
|
|
|
|
553
|
|
2
|
19
|
|
|
19
|
|
93
|
use warnings; |
|
19
|
|
|
|
|
35
|
|
|
19
|
|
|
|
|
757
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Test::Deep::ArrayLength 1.202; |
5
|
|
|
|
|
|
|
|
6
|
19
|
|
|
19
|
|
454
|
use Test::Deep::Ref; |
|
19
|
|
|
|
|
38
|
|
|
19
|
|
|
|
|
130
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub init |
9
|
|
|
|
|
|
|
{ |
10
|
179
|
|
|
179
|
0
|
261
|
my $self = shift; |
11
|
|
|
|
|
|
|
|
12
|
179
|
|
|
|
|
252
|
my $val = shift; |
13
|
|
|
|
|
|
|
|
14
|
179
|
|
|
|
|
1116
|
$self->{val} = $val; |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub descend |
18
|
|
|
|
|
|
|
{ |
19
|
179
|
|
|
179
|
0
|
278
|
my $self = shift; |
20
|
179
|
|
|
|
|
286
|
my $got = shift; |
21
|
|
|
|
|
|
|
|
22
|
179
|
|
|
|
|
333
|
my $exp = $self->{val}; |
23
|
|
|
|
|
|
|
|
24
|
179
|
100
|
|
|
|
516
|
return 0 unless $self->test_reftype($got, "ARRAY"); |
25
|
|
|
|
|
|
|
|
26
|
140
|
|
|
|
|
415
|
return Test::Deep::descend($got, Test::Deep::arraylengthonly($exp)); |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__END__ |