| blib/lib/REST/Neo4p/Entity.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 5 | 59 | 8.4 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 47 | 0 | 0 | 0 | ref $e && $e->can('rethrow') |
| 105 | 0 | 3 | 0 | $is_json and $decoded_resp->{'template'} |
| 119 | 3 | 0 | 0 | $REST::Neo4p::CREATE_AUTO_ACCESSORS and $entity_type ne "index" |
| 162 | 0 | 0 | 0 | ref $e && $e->can('rethrow') |
| 172 | 0 | 0 | 0 | ref $props and ref $props eq "HASH" |
| 192 | 0 | 0 | 0 | ref $e && $e->can('rethrow') |
| 225 | 0 | 0 | 0 | ref $e && $e->can('rethrow') |
| 256 | 0 | 0 | 0 | ref $e && $e->can('rethrow') |
| 302 | 0 | 0 | 0 | ref $e && $e->can('rethrow') |
| 340 | 0 | 0 | 0 | $entity_type eq "index" and not $idx_type |
| 389 | 0 | 0 | 0 | ref $e && $e->can('rethrow') |
| 406 | 0 | 0 | 0 | $a && $a->{$action} |
| line | l | !l | condition |
|---|---|---|---|
| 178 | 0 | 0 | $self->_get_url_suffix("property") // "properties/{key}" |
| 212 | 0 | 0 | $self->_get_url_suffix("property") // "properties/{key}" |
| 245 | 0 | 0 | $self->_get_url_suffix("property") // "properties/{key}" |
| 291 | 0 | 0 | $self->_get_url_suffix("property") // "properties/{key}" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 50 | 0 | 0 | 0 | $decoded_resp->{'self'} ||= $agent->location |
| 69 | 1 | 0 | 2 | $REST::Neo4p::Entity::ENTITY_TABLE->{$entity_type}{'_actions'} or not $is_json |
| 80 | 3 | 0 | 0 | $decoded_resp->{'self'} || $decoded_resp->{'template'} |
| 397 | 0 | 0 | 0 | $REST::Neo4p::Entity::ENTITY_TABLE->{$entity_type}{$id}{'self'} || $new |
| 406 | 0 | 0 | 0 | $a && $a->{$action} // "REST::Neo4p"->agent->{'_actions'}{$action} |