| blib/lib/REST/Neo4p/Constraint/Relationship.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 17 | 42 | 40.4 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 23 | 0 | 0 | 9 | defined $constraints and ref $constraints eq 'HASH' |
| 73 | 0 | 0 | 0 | $k eq $from and $v eq $to |
| 104 | 0 | 0 | 11 | ref($from) =~ /Neo4p::Node|HASH$/ and ref($to) =~ /Neo4p::Node|HASH$/ |
| 118 | 9 | 0 | 0 | $self->condition eq 'none' and not defined $self->constraints->{$reln_type} |
| 128 | 0 | 0 | 9 | $from_constraint && $from_constraint->tag |
| 129 | 0 | 0 | 9 | $to_constraint && $to_constraint->tag |
| 140 | 0 | 5 | 3 | $self->condition eq 'only' and not $found |
| 141 | 5 | 0 | 0 | $self->condition eq 'none' and $found |
| line | l | !l | condition |
|---|---|---|---|
| 29 | 6 | 3 | $constraints->{'_condition'} ||= 'only' |
| 30 | 0 | 9 | $constraints->{'_priority'} ||= 0 |
| 53 | 4 | 0 | $constraints->{'_descriptors'} ||= [] |
| 134 | 9 | 0 | $to_constraint ||= '*' |
| 135 | 9 | 0 | $from_constraint ||= '*' |
| 150 | 0 | 0 | $reln_props ||= {} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 102 | 11 | 0 | 0 | not $reln_props or ref $reln_props eq 'HASH' |
| 111 | 0 | 9 | 2 | $self->rtype eq '*' or $reln_type eq $self->rtype |