Condition Coverage

blib/lib/SolarBeam/Response.pm
Criterion Covered Total %
condition 4 13 30.7


and 3 conditions

line !l l&&!r l&&r condition
106 0 0 5 not $self->error and $response

or 2 conditions

line l !l condition
9 0 3 $ENV{'SOLARBEAM_DEBUG'} || 0
40 7 2 $res->json || {}

or 3 conditions

line l !l&&r !l&&!r condition
27 0 0 0 $self->{'facet_fields_as_hashes'} ||= do { my $facet_fields = $self->facet_fields; my %res; foreach my $k (keys %$facet_fields) { $res{$k} = {map({@$_{'value', 'count'};} @{[] unless $facet_fields->{$k};})}; } ; return \%res }
48 0 0 0 $data->{'error'}{'code'} || $tx->res->code