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