Branch Coverage

blib/lib/SolarBeam/Response.pm
Criterion Covered Total %
branch 19 24 79.1


line true false branch
31 0 1 unless $facet_fields->{$k}
47 1 14 if ($data->{'error'})
52 6 8 if ($res->code and not $header)
55 2 4 if ($dom and $dom->at('title')) { }
64 3 5 if ($tx->error)
72 4 10 if $self->can($method)
77 12 1 if $self->can($method)
81 8 0 if $self->can($field)
85 5 0 if ($ff)
91 5 0 if ($self->facet_ranges)
98 1 4 if ($terms)
106 5 0 if (not $self->error and $response)