line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
26
|
|
|
26
|
|
234
|
use strict; |
|
26
|
|
|
|
|
44
|
|
|
26
|
|
|
|
|
769
|
|
2
|
26
|
|
|
26
|
|
162
|
use warnings; |
|
26
|
|
|
|
|
46
|
|
|
26
|
|
|
|
|
919
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Test::Deep::Ref 1.204; |
5
|
|
|
|
|
|
|
|
6
|
26
|
|
|
26
|
|
4473
|
use Test::Deep::Cmp; |
|
26
|
|
|
|
|
57
|
|
|
26
|
|
|
|
|
135
|
|
7
|
|
|
|
|
|
|
|
8
|
26
|
|
|
26
|
|
146
|
use Scalar::Util qw( blessed ); |
|
26
|
|
|
|
|
73
|
|
|
26
|
|
|
|
|
4528
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub test_class |
11
|
|
|
|
|
|
|
{ |
12
|
155
|
|
|
155
|
0
|
254
|
my $self = shift; |
13
|
155
|
|
|
|
|
220
|
my $got = shift; |
14
|
|
|
|
|
|
|
|
15
|
155
|
|
|
|
|
418
|
my $exp = $self->{val}; |
16
|
|
|
|
|
|
|
|
17
|
155
|
100
|
|
|
|
314
|
if ($Test::Deep::Snobby) |
18
|
|
|
|
|
|
|
{ |
19
|
151
|
|
|
|
|
454
|
return Test::Deep::descend($got, Test::Deep::blessed(blessed($exp))); |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
else |
22
|
|
|
|
|
|
|
{ |
23
|
4
|
|
|
|
|
10
|
return 1; |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
} |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
sub test_reftype |
28
|
|
|
|
|
|
|
{ |
29
|
245
|
|
|
245
|
0
|
406
|
my $self = shift; |
30
|
245
|
|
|
|
|
330
|
my $got = shift; |
31
|
245
|
|
|
|
|
364
|
my $reftype = shift; |
32
|
|
|
|
|
|
|
|
33
|
245
|
|
|
|
|
623
|
return Test::Deep::descend($got, Test::Deep::reftype($reftype)); |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
1; |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
__END__ |