line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
6
|
#line 1 |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
45
|
|
2
|
1
|
|
|
1
|
|
7
|
use strict; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
113
|
|
3
|
|
|
|
|
|
|
use warnings; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Test::Deep::Array; |
6
|
1
|
|
|
1
|
|
7
|
|
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
10
|
|
7
|
|
|
|
|
|
|
use Test::Deep::Ref; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub init |
10
|
3
|
|
|
3
|
0
|
6
|
{ |
11
|
|
|
|
|
|
|
my $self = shift; |
12
|
3
|
|
|
|
|
6
|
|
13
|
|
|
|
|
|
|
my $val = shift; |
14
|
3
|
|
|
|
|
245
|
|
15
|
|
|
|
|
|
|
$self->{val} = $val; |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub descend |
19
|
3
|
|
|
3
|
0
|
16
|
{ |
20
|
3
|
|
|
|
|
5
|
my $self = shift; |
21
|
|
|
|
|
|
|
my $got = shift; |
22
|
3
|
|
|
|
|
8
|
|
23
|
|
|
|
|
|
|
my $exp = $self->{val}; |
24
|
3
|
50
|
|
|
|
14
|
|
25
|
|
|
|
|
|
|
return 0 unless Test::Deep::descend($got, Test::Deep::arraylength(scalar @$exp)); |
26
|
3
|
50
|
|
|
|
20
|
|
27
|
|
|
|
|
|
|
return 0 unless $self->test_class($got); |
28
|
3
|
|
|
|
|
17
|
|
29
|
|
|
|
|
|
|
return Test::Deep::descend($got, Test::Deep::arrayelementsonly($exp)); |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
sub reset_arrow |
33
|
0
|
|
|
0
|
0
|
|
{ |
34
|
|
|
|
|
|
|
return 0; |
35
|
|
|
|
|
|
|
} |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
1; |