Branch Coverage

blib/lib/SolarBeam.pm
Criterion Covered Total %
branch 30 32 93.7


line true false branch
39 1 2 if $self->{'url'}
60 0 1 if ($page and not $res->error)
74 16 3 unless @_
85 1 2 ref $val eq 'ARRAY' ? :
96 3 7 if ($type eq 'HASH') { }
3 4 elsif ($type eq 'ARRAY') { }
118 1 11 if $query
122 1 11 if ($options->{'page'})
126 3 9 if ($options->{'fq'})
130 2 10 if ($options->{'facet'})
134 3 9 if ($options->{'terms'})
146 2 1 if (ref $fq eq 'ARRAY') { }
165 6 19 if ($type eq 'HASH') { }
166 5 1 unless $$content{-'value'}
170 14 6 if $key ne '-value'
181 0 1 unless $options->{'rows'}