Branch Coverage

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


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) { }
125 0 1 unless $_[0] and not ref $_[0]
126 0 1 unless $_[1]
127 0 1 unless $_[2]
133 0 0 unless $_[0]
134 0 0 if not defined $_[1] or ref $_[1]
140 0 0 unless $_[0]
141 0 0 if not defined $_[1] or ref $_[1]
149 0 0 unless defined $_[0]
150 0 0 if not defined $_[1] or ref $_[1]
151 0 0 if not defined $_[2] or ref $_[2]
158 0 0 unless defined $_[0]
159 0 0 if not defined $_[1] or ref $_[1]
160 0 0 if not defined $_[2] or ref $_[2]
168 0 0 if not defined $_[0] or ref $_[0]
169 0 0 if not defined $_[1] or ref $_[1]
176 0 0 if not defined $_[0] or ref $_[0]
177 0 0 if not defined $_[1] or ref $_[1]
184 0 0 if not defined $_[0] or ref $_[0]
185 0 0 if not defined $_[1] or ref $_[1]
186 0 0 if not defined $_[2] or ref $_[2]
193 0 0 if not defined $_[0] or ref $_[0]
194 0 0 if not defined $_[1] or ref $_[1]
201 0 0 if not defined $_[0] or ref $_[0]
212 2 170 if ($clause =~ /^match|create|merge/ and @_ == 1 and $_[0] =~ /^[a-z][a-z0-9_:]*$/i) { }
218 30 182 if (ref $_ and not &blessed($_)) { }
222 8 22 if ($clause =~ /^set/)
237 70 102 if ($clause =~ /^return|with|order|set|remove/)
247 7 62 if $self->{'string'} and not $self->{'dirty'}
254 70 108 if ref $_ eq 'ARRAY'
256 1 171 if ($kws =~ /foreach/i) { }
271 0 81 unless (grep /$method/, @all_clauses)