line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
12
|
|
|
12
|
|
67
|
#line 1 |
|
12
|
|
|
|
|
22
|
|
|
12
|
|
|
|
|
409
|
|
2
|
12
|
|
|
12
|
|
61
|
use strict; |
|
12
|
|
|
|
|
23
|
|
|
12
|
|
|
|
|
636
|
|
3
|
|
|
|
|
|
|
use warnings; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Test::Deep::RefType; |
6
|
12
|
|
|
12
|
|
62
|
|
|
12
|
|
|
|
|
25
|
|
|
12
|
|
|
|
|
140
|
|
7
|
|
|
|
|
|
|
use Test::Deep::Cmp; |
8
|
12
|
|
|
12
|
|
64
|
|
|
12
|
|
|
|
|
32
|
|
|
12
|
|
|
|
|
3114
|
|
9
|
|
|
|
|
|
|
use Scalar::Util qw( reftype ); |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub init |
12
|
71
|
|
|
71
|
0
|
11436
|
{ |
13
|
|
|
|
|
|
|
my $self = shift; |
14
|
71
|
|
|
|
|
1047
|
|
15
|
|
|
|
|
|
|
$self->{val} = shift; |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub descend |
19
|
71
|
|
|
71
|
0
|
364
|
{ |
20
|
|
|
|
|
|
|
my $self = shift; |
21
|
71
|
|
|
|
|
99
|
|
22
|
|
|
|
|
|
|
my $got = shift; |
23
|
71
|
|
|
|
|
136
|
|
24
|
71
|
|
|
|
|
194
|
my $exp = $self->{val}; |
25
|
|
|
|
|
|
|
my $reftype = reftype($got); |
26
|
71
|
|
|
|
|
211
|
|
27
|
|
|
|
|
|
|
return Test::Deep::descend($reftype, Test::Deep::shallow($exp)); |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub render_stack |
31
|
0
|
|
|
0
|
0
|
|
{ |
32
|
0
|
|
|
|
|
|
my $self = shift; |
33
|
|
|
|
|
|
|
my $var = shift; |
34
|
0
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
return "reftype($var)"; |
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
sub renderGot |
39
|
0
|
|
|
0
|
0
|
|
{ |
40
|
|
|
|
|
|
|
my $self = shift; |
41
|
0
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
my $got = shift; |
43
|
0
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
$self->SUPER::renderGot(reftype($got)); |
45
|
|
|
|
|
|
|
} |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
1; |