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