line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
6
|
|
|
6
|
|
52
|
use strict; |
|
6
|
|
|
|
|
16
|
|
|
6
|
|
|
|
|
186
|
|
2
|
6
|
|
|
6
|
|
30
|
use warnings; |
|
6
|
|
|
|
|
12
|
|
|
6
|
|
|
|
|
250
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Test::Deep::ScalarRef 1.204; |
5
|
|
|
|
|
|
|
|
6
|
6
|
|
|
6
|
|
879
|
use Test::Deep::Ref; |
|
6
|
|
|
|
|
14
|
|
|
6
|
|
|
|
|
38
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub init |
9
|
|
|
|
|
|
|
{ |
10
|
21
|
|
|
21
|
0
|
35
|
my $self = shift; |
11
|
|
|
|
|
|
|
|
12
|
21
|
|
|
|
|
30
|
my $val = shift; |
13
|
|
|
|
|
|
|
|
14
|
21
|
|
|
|
|
271
|
$self->{val} = $val; |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub descend |
18
|
|
|
|
|
|
|
{ |
19
|
21
|
|
|
21
|
0
|
32
|
my $self = shift; |
20
|
|
|
|
|
|
|
|
21
|
21
|
|
|
|
|
34
|
my $got = shift; |
22
|
21
|
|
|
|
|
33
|
my $exp = $self->{val}; |
23
|
|
|
|
|
|
|
|
24
|
21
|
50
|
|
|
|
70
|
return 0 unless $self->test_class($got); |
25
|
21
|
100
|
|
|
|
113
|
return 0 unless $self->test_reftype($got, Scalar::Util::reftype($exp)); |
26
|
20
|
|
|
|
|
63
|
return Test::Deep::descend($got, Test::Deep::scalarrefonly($exp)); |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__END__ |