line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
11
|
#line 1 |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
73
|
|
2
|
2
|
|
|
2
|
|
12
|
use strict; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
74
|
|
3
|
|
|
|
|
|
|
use warnings; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Test::Deep::ArrayLengthOnly; |
6
|
2
|
|
|
2
|
|
11
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
17
|
|
7
|
|
|
|
|
|
|
use Test::Deep::Ref; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub init |
10
|
19
|
|
|
19
|
0
|
26
|
{ |
11
|
|
|
|
|
|
|
my $self = shift; |
12
|
19
|
|
|
|
|
31
|
|
13
|
|
|
|
|
|
|
my $val = shift; |
14
|
19
|
|
|
|
|
298
|
|
15
|
|
|
|
|
|
|
$self->{val} = $val; |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub descend |
19
|
19
|
|
|
19
|
0
|
34
|
{ |
20
|
19
|
|
|
|
|
26
|
my $self = shift; |
21
|
|
|
|
|
|
|
my $got = shift; |
22
|
19
|
|
|
|
|
36
|
|
23
|
|
|
|
|
|
|
my $len = $self->{val}; |
24
|
19
|
|
|
|
|
74
|
|
25
|
|
|
|
|
|
|
return @$got == $len; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
sub render_stack |
29
|
0
|
|
|
0
|
0
|
|
{ |
30
|
0
|
|
|
|
|
|
my $self = shift; |
31
|
|
|
|
|
|
|
my ($var, $data) = @_; |
32
|
0
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
return "array length of $var"; |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
sub renderVal |
37
|
0
|
|
|
0
|
0
|
|
{ |
38
|
|
|
|
|
|
|
my $self = shift; |
39
|
0
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
my $val = shift; |
41
|
0
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
return "array with $val element(s)" |
43
|
|
|
|
|
|
|
} |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
sub renderGot |
46
|
0
|
|
|
0
|
0
|
|
{ |
47
|
|
|
|
|
|
|
my $self = shift; |
48
|
0
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
my $got = shift; |
50
|
0
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
return $self->renderVal(@$got + 0); |
52
|
|
|
|
|
|
|
} |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
sub renderExp |
55
|
0
|
|
|
0
|
0
|
|
{ |
56
|
|
|
|
|
|
|
my $self = shift; |
57
|
0
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
return $self->renderVal($self->{val}); |
59
|
|
|
|
|
|
|
} |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
1; |