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 |
80 |
if (ref $prop_hash eq 'REST::Neo4p::Node') |
66
|
0 |
80 |
if (ref $prop_hash eq 'REST::Neo4p::Relationship') |
76
|
0 |
158 |
if $prop =~ /^_(condition|priority)$/ |
78
|
121 |
37 |
if (defined $value_spec) { } |
79
|
34 |
87 |
unless (_validate_value($prop, $val, $value_spec, $condition)) |
85
|
13 |
24 |
if ($condition eq 'only') |
94
|
60 |
103 |
if $prop =~ /^_(condition|priority)$/ |
96
|
5 |
98 |
unless (_validate_value($prop, $val, $value_spec, $condition)) |
108
|
0 |
230 |
unless defined $prop and defined $value_spec and defined $condition |
111
|
35 |
195 |
if (ref $_ eq 'ARRAY') |
112
|
23 |
12 |
if (not @$value_spec) { } |
116
|
0 |
12 |
unless ref($value_spec->[0]) =~ /^|Regexp$/ |
117
|
0 |
12 |
unless length $value_spec->[0] |
118
|
6 |
6 |
if (defined $value) |
124
|
96 |
99 |
if (ref $_ eq 'Regexp') |
125
|
92 |
4 |
if ($condition =~ /all|only/) { } |
126
|
2 |
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
|
99 |
0 |
if (ref $_ eq '') |
141
|
82 |
17 |
if (length $_) { } |
142
|
79 |
3 |
if ($condition =~ /all|only/) { } |
|
3 |
0 |
elsif ($condition eq 'none') { } |
143
|
3 |
76 |
if (not defined $value) { } |
147
|
24 |
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 |
68 |
unless defined $item |
207
|
0 |
68 |
unless (ref($item) =~ /Node|HASH$/) |
243
|
0 |
12 |
unless defined $item |
244
|
0 |
12 |
unless (ref($item) =~ /Neo4p::Relationship|HASH$/) |