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
22 0 0 2 defined $q_string and not ref $q_string
115 0 0 0 ref $e && $e->can('rethrow')
138 0 0 0 $self->{'_column_names'} && @{$self->{'_column_names'};}
143 14 2 0 $self->{'_error'} && ($self->{'_error'}->code || 599)
148 0 0 0 $self->{'_error'} && ($self->{'_error'}->message || $self->{'_error'}->neo4j_message)
155 0 0 0 $self->{'_error'} && $self->{'_error_list'}
215 0 0 0 @row == 1 and ref $row[0] eq 'ARRAY'
244 0 0 2 $obj and $obj->[0] eq 'columns'
301 0 0 5 $obj and $obj->[0] eq 'commit'
303 0 0 5 $obj and $obj->[0] eq 'results'
323 0 3 30 $item->[0] eq 'data' and ref $item->[1]
328 3 3 24 ref $row and ref $row->[1]
351 4 0 2 $self->err and $self->errobj->isa('REST::Neo4p::TxQueryException')
352 1 0 3 $item and $item->[0] eq 'transaction'
355 1 0 3 $item and $item->[0] eq 'errors'
427 72 0 0 defined $resp->{'start'} and defined $resp->{'end'}
72 0 0 defined $resp->{'start'} and defined $resp->{'end'} and defined $resp->{'nodes'}
474 75 0 0 $info and $info->{'type'}
485 0 0 0 ref $e && $e->can('rethrow')
498 0 0 0 $info and $info->{'type'}
509 0 0 0 ref $e && $e->can('rethrow')
533 25 0 0 @ret == 1 && ref $ret[0] eq 'ARRAY'

or 2 conditions

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

or 3 conditions

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