Branch Coverage

blib/lib/Neo4j/Cypher/Abstract.pm
Criterion Covered Total %
branch 29 80 36.2


line true false branch
65 0 0 if $_[0]{'bind_values'}
66 3 0 if $_[0]{'parameters'}
72 0 22 unless defined $_[0]
82 0 7 unless defined $_[0]
85 2 7 if ($_[0] and $_[0] =~ /^(?:de|a)sc$/i) { }
97 0 2 unless $_[0]
98 0 2 unless $_[1] and not ref $_[1]
105 24 25 if (@_ == 1 and $_[0] =~ /^[a-z][a-z0-9_:]*$/i) { }
116 3 5 if (@_ == 1 and $_[0] =~ /^[a-z][a-z0-9_:]*$/i) { }
126 0 1 unless $_[0] and not ref $_[0]
127 0 1 unless $_[1]
128 0 1 unless $_[2]
134 0 0 unless $_[0]
135 0 0 if not defined $_[1] or ref $_[1]
141 0 0 unless $_[0]
142 0 0 if not defined $_[1] or ref $_[1]
150 0 0 unless defined $_[0]
151 0 0 if not defined $_[1] or ref $_[1]
152 0 0 if not defined $_[2] or ref $_[2]
159 0 0 unless defined $_[0]
160 0 0 if not defined $_[1] or ref $_[1]
161 0 0 if not defined $_[2] or ref $_[2]
169 0 0 if not defined $_[0] or ref $_[0]
170 0 0 if not defined $_[1] or ref $_[1]
177 0 0 if not defined $_[0] or ref $_[0]
178 0 0 if not defined $_[1] or ref $_[1]
185 0 0 if not defined $_[0] or ref $_[0]
186 0 0 if not defined $_[1] or ref $_[1]
187 0 0 if not defined $_[2] or ref $_[2]
194 0 0 if not defined $_[0] or ref $_[0]
195 0 0 if not defined $_[1] or ref $_[1]
202 0 0 if not defined $_[0] or ref $_[0]
213 2 170 if ($clause =~ /^match|create|merge/ and @_ == 1 and $_[0] =~ /^[a-z][a-z0-9_:]*$/i) { }
219 30 182 if (ref $_ and not &blessed($_)) { }
223 8 22 if ($clause =~ /^set/)
238 70 102 if ($clause =~ /^return|with|order|set|remove/)
248 7 62 if $self->{'string'} and not $self->{'dirty'}
255 70 108 if ref $_ eq 'ARRAY'
257 1 171 if ($kws =~ /foreach/i) { }
272 0 81 unless (grep /$method/, @all_clauses)