| blib/lib/SolarBeam/Response.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 19 | 24 | 79.1 |
| line | true | false | branch |
|---|---|---|---|
| 32 | 0 | 1 | unless $facet_fields->{$k} |
| 49 | 1 | 14 | if ($data->{'error'}) |
| 54 | 6 | 8 | if ($res->code and not $header) |
| 57 | 2 | 4 | if ($dom and $dom->at('title')) { } |
| 66 | 3 | 5 | if ($tx->error) |
| 74 | 4 | 10 | if $self->can($method) |
| 79 | 12 | 1 | if $self->can($method) |
| 83 | 8 | 0 | if $self->can($field) |
| 87 | 5 | 0 | if ($ff) |
| 93 | 5 | 0 | if ($self->facet_ranges) |
| 100 | 1 | 4 | if ($terms) |
| 108 | 5 | 0 | if (not $self->error and $response) |