line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
12
|
#line 1 |
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
75
|
|
2
|
2
|
|
|
2
|
|
11
|
use strict; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
73
|
|
3
|
|
|
|
|
|
|
use warnings; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Test::Deep::RefType; |
6
|
2
|
|
|
2
|
|
12
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
14
|
|
7
|
|
|
|
|
|
|
use Test::Deep::Cmp; |
8
|
2
|
|
|
2
|
|
14
|
|
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
538
|
|
9
|
|
|
|
|
|
|
use Scalar::Util qw( reftype ); |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub init |
12
|
63
|
|
|
63
|
0
|
81
|
{ |
13
|
|
|
|
|
|
|
my $self = shift; |
14
|
63
|
|
|
|
|
320
|
|
15
|
|
|
|
|
|
|
$self->{val} = shift; |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub descend |
19
|
63
|
|
|
63
|
0
|
84
|
{ |
20
|
|
|
|
|
|
|
my $self = shift; |
21
|
63
|
|
|
|
|
74
|
|
22
|
|
|
|
|
|
|
my $got = shift; |
23
|
63
|
|
|
|
|
102
|
|
24
|
63
|
|
|
|
|
131
|
my $exp = $self->{val}; |
25
|
|
|
|
|
|
|
my $reftype = reftype($got); |
26
|
63
|
|
|
|
|
144
|
|
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; |