line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
8
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
28
|
|
2
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
36
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Test::Deep::HashEach 1.202; |
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
5
|
use Test::Deep::Cmp; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub init |
9
|
|
|
|
|
|
|
{ |
10
|
2
|
|
|
2
|
0
|
4
|
my $self = shift; |
11
|
|
|
|
|
|
|
|
12
|
2
|
|
|
|
|
4
|
my $val = shift; |
13
|
|
|
|
|
|
|
|
14
|
2
|
|
|
|
|
36
|
$self->{val} = $val; |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub descend |
18
|
|
|
|
|
|
|
{ |
19
|
2
|
|
|
2
|
0
|
5
|
my $self = shift; |
20
|
2
|
|
|
|
|
3
|
my $got = shift; |
21
|
|
|
|
|
|
|
|
22
|
2
|
|
|
|
|
4
|
my %exp; |
23
|
|
|
|
|
|
|
|
24
|
2
|
|
|
|
|
14
|
@exp{keys %$got} = ($self->{val}) x (keys %$got); |
25
|
|
|
|
|
|
|
|
26
|
2
|
|
|
|
|
11
|
return Test::Deep::descend($got, \%exp); |
27
|
|
|
|
|
|
|
} |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
1; |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__END__ |