Branch Coverage

blib/lib/HBase/JSONRest/Scanner.pm
Criterion Covered Total %
branch 2 52 3.8


line true false branch
16 0 0 unless $params->{'hbase'} and ref $params->{'hbase'}
72 0 0 if ($self->{'batch_no'} == 0) { }
75 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'}) { }
80 0 0 unless $first_row or $first_row->{'row'}
119 0 0 if (not $hbase->{'last_error'}) { }
121 0 0 if ($rows and @$rows) { }
126 0 0 if ($rows and @$rows) { }
149 0 0 if (not $self->{'last_key_from_previous_batch'} or $self->{'EOF'})
169 0 0 if (not $hbase->{'last_error'}) { }
171 0 0 if ($next_batch and @$next_batch) { }
176 0 0 if ($next_batch and @$next_batch) { }
214 0 0 if scalar @$rows > 1
217 0 0 unless $rows->[0]
273 0 1 if ($exclude_startrow) { }
288 0 1 if $endtime
299 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') { }
301 0 0 if ($last_retrieved_row gt $prefix_end)
306 0 0 if ($rows and @$rows)
314 0 0 if ($last_retrieved_row ge $self->{'endrow'})
319 0 0 if ($rows and @$rows)