line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
6
|
|
|
6
|
|
44
|
use strict; |
|
6
|
|
|
|
|
14
|
|
|
6
|
|
|
|
|
189
|
|
2
|
6
|
|
|
6
|
|
32
|
use warnings; |
|
6
|
|
|
|
|
12
|
|
|
6
|
|
|
|
|
235
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Test::Deep::ScalarRef 1.202; |
5
|
|
|
|
|
|
|
|
6
|
6
|
|
|
6
|
|
850
|
use Test::Deep::Ref; |
|
6
|
|
|
|
|
18
|
|
|
6
|
|
|
|
|
56
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub init |
9
|
|
|
|
|
|
|
{ |
10
|
21
|
|
|
21
|
0
|
40
|
my $self = shift; |
11
|
|
|
|
|
|
|
|
12
|
21
|
|
|
|
|
33
|
my $val = shift; |
13
|
|
|
|
|
|
|
|
14
|
21
|
|
|
|
|
276
|
$self->{val} = $val; |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub descend |
18
|
|
|
|
|
|
|
{ |
19
|
21
|
|
|
21
|
0
|
38
|
my $self = shift; |
20
|
|
|
|
|
|
|
|
21
|
21
|
|
|
|
|
32
|
my $got = shift; |
22
|
21
|
|
|
|
|
46
|
my $exp = $self->{val}; |
23
|
|
|
|
|
|
|
|
24
|
21
|
50
|
|
|
|
71
|
return 0 unless $self->test_class($got); |
25
|
21
|
100
|
|
|
|
122
|
return 0 unless $self->test_reftype($got, Scalar::Util::reftype($exp)); |
26
|
20
|
|
|
|
|
58
|
return Test::Deep::descend($got, Test::Deep::scalarrefonly($exp)); |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__END__ |