| blib/lib/REST/Neo4p/Constraint.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 9 | 20 | 45.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 106 | 0 | 0 | 11 | $json->{'tag'} and $json->{'type'} |
| 122 | 6 | 41 | 3 | $v and $v =~ m[^qr/] |
| 238 | 0 | 0 | 2 | ref($from) =~ /Neo4p::Node|HASH$/ and ref($to) =~ /Neo4p::Node|HASH$/ |
| 0 | 0 | 2 | ref($from) =~ /Neo4p::Node|HASH$/ and ref($to) =~ /Neo4p::Node|HASH$/ and defined $reln_type |
| line | l | !l | condition |
|---|---|---|---|
| 216 | 0 | 20 | delete $properties->{'__type'} || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 211 | 0 | 20 | 0 | ref($properties) =~ /Neo4p::(Node|Relationship)$/ or ref $properties eq "HASH" |
| 238 | 0 | 2 | 0 | ref($reln) =~ /Neo4p::Relationship$/ or ref($from) =~ /Neo4p::Node|HASH$/ and ref($to) =~ /Neo4p::Node|HASH$/ and defined $reln_type |