Branch Coverage

blib/lib/Devel/hdb/Client.pm
Criterion Covered Total %
branch 35 44 79.5


line true false branch
45 0 38 unless ($self{'base_url'})
62 1 40 if ($params{'exclude_sub_params'})
88 6 6 if ($params{'exclude_sub_params'})
102 12 62 unless $args
129 4 67 if ($status->{'events'} and my(@watchpoint_events) = grep({$_->{'type'} eq 'watchpoint';} @{$$status{'events'};}))
144 8 0 if (defined $_[$i + 1]) { }
157 0 8 unless (exists $allowed{$params->[$i]})
204 1 39 $params{'nostop'} ? :
305 5 4 if length $query_string
349 1 21 if ($response->code == 409)
364 0 4 if (wantarray and $reftype and $reftype ne 'ARRAY')
379 2 19 if ($was_fixed_up)
380 1 1 if (wantarray and &reftype($val->[0]) eq 'HASH') { }
1 0 elsif (&reftype($val) eq 'GLOB') { }
387 3 16 if (wantarray) { }
507 0 45 unless (exists $param_hash->{$required})
521 0 8 unless exists $recognized{$key}
530 19 12 unless exists $params_hash->{$param_name}
553 49 219 if (defined $body) { }
568 804 0 unless $self->debug
600 12 253 unless ($response->is_success)
612 0 804 if (@_)