Condition Coverage

blib/lib/HBase/JSONRest.pm
Criterion Covered Total %
condition 11 57 19.3


and 3 conditions

line !l l&&!r l&&r condition
159 0 0 0 $self->{'last_error'} and ($self->{'last_error'}{'type'} // '') eq '404'
225 0 0 0 $where->{'key_in'} and @{$where->{'key_in'};}
247 0 0 0 $self->{'last_error'} and ($self->{'last_error'}{'type'} // '') eq '404'
330 0 0 0 $command->{'table'} and defined $command->{'changes'}[0]{'row_key'}
0 0 0 $command->{'table'} and defined $command->{'changes'}[0]{'row_key'} and $command->{'changes'}[0]{'row_cells'}
449 0 0 0 $column and not $family
480 3 0 4 $query->{'columns'} and @{$query->{'columns'};}
481 3 0 1 $query->{'timestamp_range'} and %{$query->{'timestamp_range'};}
505 3 0 4 $query->{'columns'} and @{$query->{'columns'};}
597 0 0 0 $error->{'type'} and $not_to_die
0 0 0 $error->{'type'} and $not_to_die and grep {$_ eq $error->{'type'};} @$not_to_die
688 0 0 0 exists $rs->{'headers'} and exists $rs->{'headers'}{'content-encoding'}
0 0 0 exists $rs->{'headers'} and exists $rs->{'headers'}{'content-encoding'} and $rs->{'headers'}{'content-encoding'} eq 'gzip'

or 2 conditions

line l !l condition
31 0 0 $params{'port'} ||= 8080
159 0 0 $self->{'last_error'}{'type'} // ''
247 0 0 $self->{'last_error'}{'type'} // ''

or 3 conditions

line l !l&&r !l&&!r condition
509 0 4 0 $current_url ||= $uri . '/' . uri_escape($column)
528 1 3 3 $timestamp_url_part or $versions_url_part
553 0 3 0 $current_url ||= $uri_base . 'row=' . uri_escape($key)
680 0 0 0 $msg || $res->{'status'} || Dumper($res)