line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
10
|
#line 1 |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
64
|
|
2
|
2
|
|
|
2
|
|
10
|
use strict; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
67
|
|
3
|
|
|
|
|
|
|
use warnings; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Test::Deep::Ref; |
6
|
2
|
|
|
2
|
|
1138
|
|
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
11
|
|
7
|
|
|
|
|
|
|
use Test::Deep::Cmp; |
8
|
2
|
|
|
2
|
|
16
|
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
397
|
|
9
|
|
|
|
|
|
|
use Scalar::Util qw( blessed ); |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub test_class |
12
|
63
|
|
|
63
|
0
|
84
|
{ |
13
|
63
|
|
|
|
|
83
|
my $self = shift; |
14
|
|
|
|
|
|
|
my $got = shift; |
15
|
63
|
|
|
|
|
178
|
|
16
|
|
|
|
|
|
|
my $exp = $self->{val}; |
17
|
63
|
50
|
|
|
|
105
|
|
18
|
|
|
|
|
|
|
if ($Test::Deep::Snobby) |
19
|
63
|
|
|
|
|
217
|
{ |
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
|
63
|
|
|
63
|
0
|
85
|
{ |
30
|
63
|
|
|
|
|
86
|
my $self = shift; |
31
|
63
|
|
|
|
|
80
|
my $got = shift; |
32
|
|
|
|
|
|
|
my $reftype = shift; |
33
|
63
|
|
|
|
|
169
|
|
34
|
|
|
|
|
|
|
return Test::Deep::descend($got, Test::Deep::reftype($reftype)); |
35
|
|
|
|
|
|
|
} |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
1; |