line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
12
|
|
|
12
|
|
71
|
#line 1 |
|
12
|
|
|
|
|
24
|
|
|
12
|
|
|
|
|
404
|
|
2
|
12
|
|
|
12
|
|
56
|
use strict; |
|
12
|
|
|
|
|
26
|
|
|
12
|
|
|
|
|
398
|
|
3
|
|
|
|
|
|
|
use warnings; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Test::Deep::RefType; |
6
|
12
|
|
|
12
|
|
61
|
|
|
12
|
|
|
|
|
75
|
|
|
12
|
|
|
|
|
72
|
|
7
|
|
|
|
|
|
|
use Test::Deep::Cmp; |
8
|
12
|
|
|
12
|
|
60
|
|
|
12
|
|
|
|
|
44
|
|
|
12
|
|
|
|
|
3324
|
|
9
|
|
|
|
|
|
|
use Scalar::Util qw( reftype ); |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub init |
12
|
67
|
|
|
67
|
0
|
100
|
{ |
13
|
|
|
|
|
|
|
my $self = shift; |
14
|
67
|
|
|
|
|
965
|
|
15
|
|
|
|
|
|
|
$self->{val} = shift; |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub descend |
19
|
67
|
|
|
67
|
0
|
119
|
{ |
20
|
|
|
|
|
|
|
my $self = shift; |
21
|
67
|
|
|
|
|
96
|
|
22
|
|
|
|
|
|
|
my $got = shift; |
23
|
67
|
|
|
|
|
174
|
|
24
|
67
|
|
|
|
|
172
|
my $exp = $self->{val}; |
25
|
|
|
|
|
|
|
my $reftype = reftype($got); |
26
|
67
|
|
|
|
|
218
|
|
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; |