line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
12
|
|
|
12
|
|
66
|
#line 1 |
|
12
|
|
|
|
|
20
|
|
|
12
|
|
|
|
|
759
|
|
2
|
12
|
|
|
12
|
|
61
|
use strict; |
|
12
|
|
|
|
|
20
|
|
|
12
|
|
|
|
|
389
|
|
3
|
|
|
|
|
|
|
use warnings; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Test::Deep::Ref; |
6
|
12
|
|
|
12
|
|
7380
|
|
|
12
|
|
|
|
|
32
|
|
|
12
|
|
|
|
|
63
|
|
7
|
|
|
|
|
|
|
use Test::Deep::Cmp; |
8
|
12
|
|
|
12
|
|
86
|
|
|
12
|
|
|
|
|
24
|
|
|
12
|
|
|
|
|
2533
|
|
9
|
|
|
|
|
|
|
use Scalar::Util qw( blessed ); |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub test_class |
12
|
67
|
|
|
67
|
0
|
115
|
{ |
13
|
67
|
|
|
|
|
106
|
my $self = shift; |
14
|
|
|
|
|
|
|
my $got = shift; |
15
|
67
|
|
|
|
|
1287
|
|
16
|
|
|
|
|
|
|
my $exp = $self->{val}; |
17
|
67
|
50
|
|
|
|
181
|
|
18
|
|
|
|
|
|
|
if ($Test::Deep::Snobby) |
19
|
67
|
|
|
|
|
302
|
{ |
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
|
67
|
|
|
67
|
0
|
100
|
{ |
30
|
67
|
|
|
|
|
93
|
my $self = shift; |
31
|
67
|
|
|
|
|
103
|
my $got = shift; |
32
|
|
|
|
|
|
|
my $reftype = shift; |
33
|
67
|
|
|
|
|
249
|
|
34
|
|
|
|
|
|
|
return Test::Deep::descend($got, Test::Deep::reftype($reftype)); |
35
|
|
|
|
|
|
|
} |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
1; |