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