line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
12
|
|
|
12
|
|
67
|
#line 1 |
|
12
|
|
|
|
|
29
|
|
|
12
|
|
|
|
|
392
|
|
2
|
12
|
|
|
12
|
|
67
|
use strict; |
|
12
|
|
|
|
|
26
|
|
|
12
|
|
|
|
|
403
|
|
3
|
|
|
|
|
|
|
use warnings; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Test::Deep::Ref; |
6
|
12
|
|
|
12
|
|
15437
|
|
|
12
|
|
|
|
|
37
|
|
|
12
|
|
|
|
|
66
|
|
7
|
|
|
|
|
|
|
use Test::Deep::Cmp; |
8
|
12
|
|
|
12
|
|
90
|
|
|
12
|
|
|
|
|
37
|
|
|
12
|
|
|
|
|
2914
|
|
9
|
|
|
|
|
|
|
use Scalar::Util qw( blessed ); |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub test_class |
12
|
71
|
|
|
71
|
0
|
141
|
{ |
13
|
71
|
|
|
|
|
132
|
my $self = shift; |
14
|
|
|
|
|
|
|
my $got = shift; |
15
|
71
|
|
|
|
|
1273
|
|
16
|
|
|
|
|
|
|
my $exp = $self->{val}; |
17
|
71
|
50
|
|
|
|
170
|
|
18
|
|
|
|
|
|
|
if ($Test::Deep::Snobby) |
19
|
71
|
|
|
|
|
295
|
{ |
20
|
|
|
|
|
|
|
return Test::Deep::descend($got, Test::Deep::blessed(blessed($exp))); |
21
|
|
|
|
|
|
|
} |
22
|
|
|
|
|
|
|
else |
23
|
0
|
|
|
|
|
0
|
{ |
24
|
|
|
|
|
|
|
return 1; |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
sub test_reftype |
29
|
71
|
|
|
71
|
0
|
113
|
{ |
30
|
71
|
|
|
|
|
98
|
my $self = shift; |
31
|
71
|
|
|
|
|
352
|
my $got = shift; |
32
|
|
|
|
|
|
|
my $reftype = shift; |
33
|
71
|
|
|
|
|
223
|
|
34
|
|
|
|
|
|
|
return Test::Deep::descend($got, Test::Deep::reftype($reftype)); |
35
|
|
|
|
|
|
|
} |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
1; |