| line |
true |
false |
branch |
|
14
|
0 |
18 |
unless $self->tag |
|
15
|
1 |
17 |
unless defined $constraints and ref $constraints eq "HASH" |
|
16
|
14 |
3 |
if (my $cond = $constraints->{'_condition'}) { } |
|
17
|
0 |
14 |
unless (grep /^$cond$/, ("all", "only", "none")) |
|
32
|
0 |
1 |
unless (not ref $key and $key =~ /^[a-z0-9_]+$/i) |
|
35
|
0 |
1 |
unless (not ref $value or ref $value eq "ARRAY") |
|
51
|
0 |
22 |
unless ($condition =~ /^(all|only|none)$/) |
|
63
|
0 |
88 |
if (ref $prop_hash eq "REST::Neo4p::Node") |
|
66
|
0 |
88 |
if (ref $prop_hash eq "REST::Neo4p::Relationship") |
|
76
|
0 |
206 |
if $prop =~ /^_(condition|priority)$/ |
|
78
|
140 |
66 |
if (defined $value_spec) { } |
|
79
|
43 |
97 |
unless (_validate_value($prop, $val, $value_spec, $condition)) |
|
85
|
12 |
54 |
if ($condition eq "only") |
|
94
|
60 |
103 |
if $prop =~ /^_(condition|priority)$/ |
|
96
|
5 |
98 |
unless (_validate_value($prop, $val, $value_spec, $condition)) |
|
108
|
0 |
250 |
unless defined $prop and defined $value_spec and defined $condition |
|
111
|
32 |
218 |
if (ref $_ eq "ARRAY") |
|
112
|
19 |
13 |
if (not @$value_spec) { } |
|
116
|
0 |
13 |
unless ref($value_spec->[0]) =~ /^|Regexp$/ |
|
117
|
0 |
13 |
unless length $value_spec->[0] |
|
118
|
7 |
6 |
if (defined $value) |
|
124
|
108 |
110 |
if (ref $_ eq "Regexp") |
|
125
|
104 |
4 |
if ($condition =~ /all|only/) { } |
|
126
|
3 |
101 |
if (not defined $value) { } |
|
130
|
4 |
97 |
unless $value =~ /$value_spec/ |
|
134
|
3 |
1 |
if (defined $value) |
|
135
|
3 |
0 |
if $value =~ /$value_spec/ |
|
140
|
110 |
0 |
if (ref $_ eq "") |
|
141
|
89 |
21 |
if (length $_) { } |
|
142
|
86 |
3 |
if ($condition =~ /all|only/) { } |
|
|
3 |
0 |
elsif ($condition eq 'none') { } |
|
143
|
1 |
85 |
if (not defined $value) { } |
|
147
|
33 |
52 |
unless $value eq $value_spec or $value_spec eq "*" |
|
152
|
2 |
1 |
if (defined $value) |
|
153
|
2 |
0 |
unless $value ne $value_spec |
|
161
|
19 |
2 |
if ($condition =~ /all|only/) { } |
|
|
2 |
0 |
elsif ($condition eq 'none') { } |
|
162
|
1 |
18 |
unless (defined $value) |
|
167
|
1 |
1 |
if (defined $value) |
|
206
|
0 |
77 |
unless defined $item |
|
207
|
0 |
77 |
unless (ref($item) =~ /Node|HASH$/) |
|
243
|
0 |
11 |
unless defined $item |
|
244
|
0 |
11 |
unless (ref($item) =~ /Neo4p::Relationship|HASH$/) |