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