| line |
true |
false |
branch |
|
19
|
0 |
33 |
if ref $update ne 'HASH' |
|
23
|
3 |
30 |
if (exists $update->{'$set'}) |
|
27
|
2 |
28 |
if (exists $update->{'$unset'}) |
|
28
|
1 |
1 |
unless defined $view |
|
29
|
0 |
2 |
if ref $view ne 'HASH' |
|
35
|
3 |
25 |
if (exists $update->{'$merge'}) |
|
36
|
1 |
2 |
unless defined $view |
|
37
|
0 |
3 |
if ref $view ne 'HASH' |
|
38
|
0 |
3 |
if ref $update->{'$merge'} ne 'HASH' |
|
42
|
2 |
23 |
if (exists $update->{'$push'}) |
|
43
|
1 |
1 |
unless defined $view |
|
44
|
0 |
2 |
if ref $view ne 'ARRAY' |
|
48
|
2 |
21 |
if (exists $update->{'$unshift'}) |
|
49
|
1 |
1 |
unless defined $view |
|
50
|
0 |
2 |
if ref $view ne 'ARRAY' |
|
54
|
4 |
17 |
if (exists $update->{'$splice'}) |
|
55
|
1 |
3 |
unless defined $view |
|
56
|
0 |
4 |
if ref $view ne 'ARRAY' |
|
57
|
0 |
4 |
if ref $update->{'$splice'} ne 'ARRAY' |
|
62
|
0 |
5 |
if ref $s ne 'ARRAY' |
|
72
|
2 |
15 |
unless defined $view |
|
74
|
17 |
0 |
if (ref $view eq 'HASH') { } |
|
|
0 |
0 |
elsif (ref $view eq 'ARRAY') { } |
|
86
|
0 |
0 |
unless $k =~ /^\d+$/u |