line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
7
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
32
|
|
2
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
37
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Test::Deep::Obj 1.204; |
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
5
|
use Test::Deep::Cmp; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
5
|
|
7
|
1
|
|
|
1
|
|
5
|
use Scalar::Util; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
226
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
sub init |
10
|
|
|
|
|
|
|
{ |
11
|
4
|
|
|
4
|
0
|
7
|
my $self = shift; |
12
|
|
|
|
|
|
|
|
13
|
4
|
|
|
|
|
6
|
my $val = shift; |
14
|
4
|
|
|
|
|
39
|
$self->{val} = $val; |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub descend |
18
|
|
|
|
|
|
|
{ |
19
|
4
|
|
|
4
|
0
|
5
|
my $self = shift; |
20
|
4
|
|
|
|
|
5
|
my $got = shift; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
return Scalar::Util::blessed($got) |
23
|
4
|
|
100
|
|
|
28
|
&& $got->isa($self->{val}); |
24
|
|
|
|
|
|
|
} |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
sub diag_message |
27
|
|
|
|
|
|
|
{ |
28
|
2
|
|
|
2
|
0
|
4
|
my $self = shift; |
29
|
|
|
|
|
|
|
|
30
|
2
|
|
|
|
|
3
|
my $where = shift; |
31
|
|
|
|
|
|
|
|
32
|
2
|
|
|
|
|
7
|
return "Checking class of $where with isa()"; |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
sub renderExp |
36
|
|
|
|
|
|
|
{ |
37
|
2
|
|
|
2
|
0
|
4
|
my $self = shift; |
38
|
|
|
|
|
|
|
|
39
|
2
|
|
|
|
|
8
|
return "blessed into '$self->{val}' or subclass of '$self->{val}'"; |
40
|
|
|
|
|
|
|
} |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
1; |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
__END__ |