Branch Coverage

blib/lib/HBase/JSONRest/Scanner.pm
Criterion Covered Total %
branch 4 56 7.1


line true false branch
16 0 0 unless $params->{'hbase'} and ref $params->{'hbase'}
76 0 0 if ($self->{'batch_no'} == 0) { }
79 0 0 if (defined $prefix and not $self->{'startrow'} and not $self->{'endrow'}) { }
0 0 elsif (not defined $prefix and $self->{'startrow'} and $self->{'endrow'}) { }
0 0 elsif (not defined $prefix and $self->{'startrow'} and not $self->{'endrow'}) { }
0 0 elsif (defined $prefix and $self->{'startrow'} || $self->{'endrow'}) { }
0 0 elsif (not defined $prefix || $self->{'startrow'}) { }
84 0 0 unless $first_row or $first_row->{'row'}
126 0 0 if (not $hbase->{'last_error'}) { }
128 0 0 if ($rows and @$rows) { }
133 0 0 if ($rows and @$rows) { }
156 0 0 if (not $self->{'last_key_from_previous_batch'} or $self->{'EOF'})
179 0 0 if (not $hbase->{'last_error'}) { }
181 0 0 if ($next_batch and @$next_batch) { }
186 0 0 if ($next_batch and @$next_batch) { }
224 0 0 if scalar @$rows > 1
227 0 0 unless $rows->[0]
281 0 1 if ($exclude_startrow) { }
296 0 1 if defined $starttime
297 0 1 if defined $endtime
298 0 1 if defined $maxversions
309 0 0 if ($self->{'end_condition_type'} eq 'PREFIX') { }
0 0 elsif ($self->{'end_condition_type'} eq 'ENDROW') { }
0 0 elsif ($self->{'end_condition_type'} eq 'NONE') { }
311 0 0 if ($last_retrieved_row gt $prefix_end)
316 0 0 if ($rows and @$rows)
324 0 0 if ($last_retrieved_row ge $self->{'endrow'})
329 0 0 if ($rows and @$rows)