blib/lib/Neo4j/Cypher/Pattern.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 41 | 44 | 93.1 |
line | true | false | branch |
---|---|---|---|
18 | 2 | 48 | if (@_) |
33 | 0 | 2 | if not defined $_[0] or ref $_[0] |
46 | 6 | 87 | unless (@_) |
56 | 19 | 68 | if (@l) |
60 | 23 | 64 | $lbls ? : |
61 | 27 | 60 | if ($props) |
77 | 3 | 29 | unless (@_) |
84 | 3 | 26 | if ($type) { } |
90 | 27 | 2 | if ($varname) |
96 | 15 | 14 | unless ($dir) |
97 | 11 | 4 | if ($type) |
104 | 15 | 14 | $type ? : |
106 | 9 | 20 | if ($hops) |
107 | 2 | 7 | if (@$hops == 0) { } |
0 | 7 | elsif (@$hops == 1) { } | |
117 | 3 | 26 | if ($props) |
125 | 25 | 4 | $str ? : |
127 | 22 | 7 | if ($dir) |
128 | 7 | 15 | if ($dir eq '<') { } |
15 | 0 | elsif ($dir eq '>') { } | |
168 | 4 | 30 | if $_[0]{'no_quote'} and $_[1] =~ /$_[0]{'no_quote'}/ or $_[1] =~ /(?:^|\s)\$/ |
171 | 1 | 29 | if ref $_[1] eq 'SCALAR' |