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