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