Condition Coverage

blib/lib/REST/Neo4p/Query.pm
Criterion Covered Total %
condition 28 74 37.8


and 3 conditions

line !l l&&!r l&&r condition
24 0 0 2 defined $q_string and not ref $q_string
117 0 0 0 ref $e && $e->can('rethrow')
140 0 0 0 $self->{'_column_names'} && @{$self->{'_column_names'};}
145 14 2 0 $self->{'_error'} && ($self->{'_error'}->code || 599)
150 0 0 0 $self->{'_error'} && ($self->{'_error'}->message || $self->{'_error'}->neo4j_message)
157 0 0 0 $self->{'_error'} && $self->{'_error_list'}
217 0 0 0 @row == 1 and ref $row[0] eq 'ARRAY'
246 0 0 2 $obj and $obj->[0] eq 'columns'
303 0 0 5 $obj and $obj->[0] eq 'commit'
305 0 0 5 $obj and $obj->[0] eq 'results'
325 0 3 30 $item->[0] eq 'data' and ref $item->[1]
330 3 3 24 ref $row and ref $row->[1]
353 4 0 2 $self->err and $self->errobj->isa('REST::Neo4p::TxQueryException')
354 1 0 3 $item and $item->[0] eq 'transaction'
357 1 0 3 $item and $item->[0] eq 'errors'
429 72 0 0 defined $resp->{'start'} and defined $resp->{'end'}
72 0 0 defined $resp->{'start'} and defined $resp->{'end'} and defined $resp->{'nodes'}
476 75 0 0 $info and $info->{'type'}
487 0 0 0 ref $e && $e->can('rethrow')
500 0 0 0 $info and $info->{'type'}
511 0 0 0 ref $e && $e->can('rethrow')
535 25 0 0 @ret == 1 && ref $ret[0] eq 'ARRAY'

or 2 conditions

line l !l condition
32 1 1 $params || {}

or 3 conditions

line l !l&&r !l&&!r condition
27 1 1 0 not defined $params or ref $params eq 'HASH'
353 27 4 2 $ret or $self->err and $self->errobj->isa('REST::Neo4p::TxQueryException')