| blib/lib/Neo4j/Cypher/Pattern.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 41 | 44 | 93.1 |
| line | true | false | branch |
|---|---|---|---|
| 19 | 2 | 48 | if (@_) |
| 34 | 0 | 2 | if not defined $_[0] or ref $_[0] |
| 47 | 6 | 87 | unless (@_) |
| 57 | 19 | 68 | if (@l) |
| 61 | 23 | 64 | $lbls ? : |
| 62 | 27 | 60 | if ($props) |
| 78 | 3 | 29 | unless (@_) |
| 85 | 3 | 26 | if ($type) { } |
| 91 | 27 | 2 | if ($varname) |
| 97 | 15 | 14 | unless ($dir) |
| 98 | 11 | 4 | if ($type) |
| 105 | 15 | 14 | $type ? : |
| 107 | 9 | 20 | if ($hops) |
| 108 | 2 | 7 | if (@$hops == 0) { } |
| 0 | 7 | elsif (@$hops == 1) { } | |
| 118 | 3 | 26 | if ($props) |
| 126 | 25 | 4 | $str ? : |
| 128 | 22 | 7 | if ($dir) |
| 129 | 7 | 15 | if ($dir eq '<') { } |
| 15 | 0 | elsif ($dir eq '>') { } | |
| 169 | 4 | 30 | if $_[0]{'no_quote'} and $_[1] =~ /$_[0]{'no_quote'}/ or $_[1] =~ /(?:^|\s)\$/ |
| 172 | 1 | 29 | if ref $_[1] eq 'SCALAR' |