line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
25
|
|
|
25
|
|
171
|
use strict; |
|
25
|
|
|
|
|
62
|
|
|
25
|
|
|
|
|
719
|
|
2
|
25
|
|
|
25
|
|
126
|
use warnings; |
|
25
|
|
|
|
|
45
|
|
|
25
|
|
|
|
|
960
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Test::Deep::RefType 1.203; |
5
|
|
|
|
|
|
|
|
6
|
25
|
|
|
25
|
|
503
|
use Test::Deep::Cmp; |
|
25
|
|
|
|
|
50
|
|
|
25
|
|
|
|
|
200
|
|
7
|
|
|
|
|
|
|
|
8
|
25
|
|
|
25
|
|
139
|
use Scalar::Util qw( reftype ); |
|
25
|
|
|
|
|
64
|
|
|
25
|
|
|
|
|
5918
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub init |
11
|
|
|
|
|
|
|
{ |
12
|
247
|
|
|
247
|
0
|
363
|
my $self = shift; |
13
|
|
|
|
|
|
|
|
14
|
247
|
|
|
|
|
1354
|
$self->{val} = shift; |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub descend |
18
|
|
|
|
|
|
|
{ |
19
|
247
|
|
|
247
|
0
|
379
|
my $self = shift; |
20
|
|
|
|
|
|
|
|
21
|
247
|
|
|
|
|
361
|
my $got = shift; |
22
|
|
|
|
|
|
|
|
23
|
247
|
|
|
|
|
472
|
my $exp = $self->{val}; |
24
|
247
|
|
|
|
|
528
|
my $reftype = reftype($got); |
25
|
|
|
|
|
|
|
|
26
|
247
|
|
|
|
|
534
|
return Test::Deep::descend($reftype, Test::Deep::shallow($exp)); |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
sub render_stack |
30
|
|
|
|
|
|
|
{ |
31
|
9
|
|
|
9
|
0
|
18
|
my $self = shift; |
32
|
9
|
|
|
|
|
15
|
my $var = shift; |
33
|
|
|
|
|
|
|
|
34
|
9
|
|
|
|
|
29
|
return "reftype($var)"; |
35
|
|
|
|
|
|
|
} |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
sub renderGot |
38
|
|
|
|
|
|
|
{ |
39
|
0
|
|
|
0
|
0
|
|
my $self = shift; |
40
|
|
|
|
|
|
|
|
41
|
0
|
|
|
|
|
|
my $got = shift; |
42
|
|
|
|
|
|
|
|
43
|
0
|
|
|
|
|
|
$self->SUPER::renderGot(reftype($got)); |
44
|
|
|
|
|
|
|
} |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
1; |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
__END__ |