Branch Coverage

blib/lib/Neo4j/Cypher/Abstract.pm
Criterion Covered Total %
branch 31 82 37.8


line true false branch
64 0 0 if $_[0]{'bind_values'}
65 3 0 if $_[0]{'parameters'}
71 0 22 unless defined $_[0]
81 0 7 unless defined $_[0]
84 2 7 if ($_[0] and $_[0] =~ /^(?:de|a)sc$/i) { }
96 0 2 unless $_[0]
97 0 2 unless $_[1] and not ref $_[1]
104 24 25 if (@_ == 1 and $_[0] =~ /^[a-z][a-z0-9_:]*$/i) { }
115 3 5 if (@_ == 1 and $_[0] =~ /^[a-z][a-z0-9_:]*$/i) { }
126 5 5 if (ref $_[0] eq 'HASH' and @_ == 1) { }
136 0 1 unless $_[0] and not ref $_[0]
137 0 1 unless $_[1]
138 0 1 unless $_[2]
144 0 0 unless $_[0]
145 0 0 if not defined $_[1] or ref $_[1]
151 0 0 unless $_[0]
152 0 0 if not defined $_[1] or ref $_[1]
160 0 0 unless defined $_[0]
161 0 0 if not defined $_[1] or ref $_[1]
162 0 0 if not defined $_[2] or ref $_[2]
169 0 0 unless defined $_[0]
170 0 0 if not defined $_[1] or ref $_[1]
171 0 0 if not defined $_[2] or ref $_[2]
179 0 0 if not defined $_[0] or ref $_[0]
180 0 0 if not defined $_[1] or ref $_[1]
187 0 0 if not defined $_[0] or ref $_[0]
188 0 0 if not defined $_[1] or ref $_[1]
195 0 0 if not defined $_[0] or ref $_[0]
196 0 0 if not defined $_[1] or ref $_[1]
197 0 0 if not defined $_[2] or ref $_[2]
204 0 0 if not defined $_[0] or ref $_[0]
205 0 0 if not defined $_[1] or ref $_[1]
212 0 0 if not defined $_[0] or ref $_[0]
223 2 173 if ($clause =~ /^match|create|merge/ and @_ == 1 and $_[0] =~ /^[a-z][a-z0-9_:]*$/i) { }
229 32 183 if (ref $_ and not &blessed($_)) { }
233 10 22 if ($clause =~ /^set/)
248 71 104 if ($clause =~ /^return|with|order|set|remove/)
258 7 63 if $self->{'string'} and not $self->{'dirty'}
265 71 109 if ref $_ eq 'ARRAY'
267 1 174 if ($kws =~ /foreach/i) { }
282 0 74 unless (grep /$method/, @all_clauses)