| 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 |
72 |
if (ref $prop_hash eq 'REST::Neo4p::Node') |
|
66
|
0 |
72 |
if (ref $prop_hash eq 'REST::Neo4p::Relationship') |
|
76
|
0 |
139 |
if $prop =~ /^_(condition|priority)$/ |
|
78
|
109 |
30 |
if (defined $value_spec) { } |
|
79
|
26 |
83 |
unless (_validate_value($prop, $val, $value_spec, $condition)) |
|
85
|
13 |
17 |
if ($condition eq 'only') |
|
94
|
61 |
105 |
if $prop =~ /^_(condition|priority)$/ |
|
96
|
5 |
100 |
unless (_validate_value($prop, $val, $value_spec, $condition)) |
|
108
|
0 |
220 |
unless defined $prop and defined $value_spec and defined $condition |
|
111
|
33 |
187 |
if (ref $_ eq 'ARRAY') |
|
112
|
20 |
13 |
if (not @$value_spec) { } |
|
116
|
0 |
13 |
unless ref($value_spec->[0]) =~ /^|Regexp$/ |
|
117
|
0 |
13 |
unless length $value_spec->[0] |
|
118
|
6 |
7 |
if (defined $value) |
|
124
|
98 |
89 |
if (ref $_ eq 'Regexp') |
|
125
|
94 |
4 |
if ($condition =~ /all|only/) { } |
|
126
|
4 |
90 |
if (not defined $value) { } |
|
130
|
4 |
86 |
unless $value =~ /$value_spec/ |
|
134
|
3 |
1 |
if (defined $value) |
|
135
|
2 |
1 |
if $value =~ /$value_spec/ |
|
140
|
89 |
0 |
if (ref $_ eq '') |
|
141
|
72 |
17 |
if (length $_) { } |
|
142
|
69 |
3 |
if ($condition =~ /all|only/) { } |
|
|
3 |
0 |
elsif ($condition eq 'none') { } |
|
143
|
1 |
68 |
if (not defined $value) { } |
|
147
|
16 |
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
|
14 |
3 |
if ($condition =~ /all|only/) { } |
|
|
3 |
0 |
elsif ($condition eq 'none') { } |
|
162
|
0 |
14 |
unless (defined $value) |
|
167
|
2 |
1 |
if (defined $value) |
|
206
|
0 |
60 |
unless defined $item |
|
207
|
0 |
60 |
unless (ref($item) =~ /Node|HASH$/) |
|
243
|
0 |
12 |
unless defined $item |
|
244
|
0 |
12 |
unless (ref($item) =~ /Neo4p::Relationship|HASH$/) |