line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
19
|
|
|
19
|
|
145
|
use strict; |
|
19
|
|
|
|
|
39
|
|
|
19
|
|
|
|
|
555
|
|
2
|
19
|
|
|
19
|
|
92
|
use warnings; |
|
19
|
|
|
|
|
34
|
|
|
19
|
|
|
|
|
684
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Test::Deep::ArrayLength 1.203; |
5
|
|
|
|
|
|
|
|
6
|
19
|
|
|
19
|
|
463
|
use Test::Deep::Ref; |
|
19
|
|
|
|
|
62
|
|
|
19
|
|
|
|
|
120
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub init |
9
|
|
|
|
|
|
|
{ |
10
|
179
|
|
|
179
|
0
|
318
|
my $self = shift; |
11
|
|
|
|
|
|
|
|
12
|
179
|
|
|
|
|
278
|
my $val = shift; |
13
|
|
|
|
|
|
|
|
14
|
179
|
|
|
|
|
1083
|
$self->{val} = $val; |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub descend |
18
|
|
|
|
|
|
|
{ |
19
|
179
|
|
|
179
|
0
|
297
|
my $self = shift; |
20
|
179
|
|
|
|
|
250
|
my $got = shift; |
21
|
|
|
|
|
|
|
|
22
|
179
|
|
|
|
|
328
|
my $exp = $self->{val}; |
23
|
|
|
|
|
|
|
|
24
|
179
|
100
|
|
|
|
507
|
return 0 unless $self->test_reftype($got, "ARRAY"); |
25
|
|
|
|
|
|
|
|
26
|
140
|
|
|
|
|
430
|
return Test::Deep::descend($got, Test::Deep::arraylengthonly($exp)); |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__END__ |