line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
11
|
#line 1 |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
65
|
|
2
|
2
|
|
|
2
|
|
9
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
57
|
|
3
|
|
|
|
|
|
|
use warnings; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Test::Deep::ArrayLengthOnly; |
6
|
2
|
|
|
2
|
|
9
|
|
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
17
|
|
7
|
|
|
|
|
|
|
use Test::Deep::Ref; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub init |
10
|
4
|
|
|
4
|
0
|
7
|
{ |
11
|
|
|
|
|
|
|
my $self = shift; |
12
|
4
|
|
|
|
|
5
|
|
13
|
|
|
|
|
|
|
my $val = shift; |
14
|
4
|
|
|
|
|
195
|
|
15
|
|
|
|
|
|
|
$self->{val} = $val; |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub descend |
19
|
4
|
|
|
4
|
0
|
7
|
{ |
20
|
4
|
|
|
|
|
8
|
my $self = shift; |
21
|
|
|
|
|
|
|
my $got = shift; |
22
|
4
|
|
|
|
|
7
|
|
23
|
|
|
|
|
|
|
my $len = $self->{val}; |
24
|
4
|
|
|
|
|
14
|
|
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; |