Branch Coverage

blib/lib/HBase/JSONRest/Scanner.pm
Criterion Covered Total %
branch 1 50 2.0


line true false branch
16 0 0 unless $params->{'hbase'} and ref $params->{'hbase'}
70 0 0 if ($self->{'batch_no'} == 0) { }
73 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'}) { }
78 0 0 unless $first_row or $first_row->{'row'}
117 0 0 if (not $hbase->{'last_error'}) { }
119 0 0 if ($rows and @$rows) { }
124 0 0 if ($rows and @$rows) { }
147 0 0 if (not $self->{'last_key_from_previous_batch'} or $self->{'EOF'})
167 0 0 if (not $hbase->{'last_error'}) { }
169 0 0 if ($next_batch and @$next_batch) { }
174 0 0 if ($next_batch and @$next_batch) { }
212 0 0 if scalar @$rows > 1
215 0 0 unless $rows->[0]
269 0 1 if ($exclude_startrow) { }
292 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') { }
294 0 0 if ($last_retrieved_row gt $prefix_end)
299 0 0 if ($rows and @$rows)
307 0 0 if ($last_retrieved_row ge $self->{'endrow'})
312 0 0 if ($rows and @$rows)