Branch Coverage

blib/lib/Hypothesis/API.pm
Criterion Covered Total %
branch 0 82 0.0


line true false branch
181 0 0 if (ref $payload ne 'HASH')
185 0 0 unless (exists $payload->{'uri'})
193 0 0 unless (exists $payload->{'permissions'})
201 0 0 unless (exists $payload->{'document'})
204 0 0 unless (exists $payload->{'text'})
207 0 0 unless (exists $payload->{'tags'})
210 0 0 unless (exists $payload->{'target'})
224 0 0 if ($response->code == 200) { }
226 0 0 if (exists $json_content->{'id'}) { }
249 0 0 unless (defined $id)
270 0 0 unless ($success)
274 0 0 if ($content_type eq 'HASH') { }
275 0 0 if (defined $json_content->{'deleted'}) { }
276 0 0 if ($json_content->{'deleted'}) { }
0 0 elsif (not $json_content->{'deleted'}) { }
310 0 0 if (exists $cookies{'Set-Cookie3: XSRF-TOKEN'}) { }
356 0 0 unless (defined $id)
363 0 0 if ($content_type eq 'HASH') { }
364 0 0 if (defined $json_content->{'id'}) { }
0 0 elsif (defined $json_content->{'rows'}) { }
418 0 0 unless (defined $query)
421 0 0 unless (defined $query->{'limit'})
425 0 0 unless (defined $page_size)
429 0 0 if (defined $query->{'uri'})
443 0 0 if defined $limit_orig and $num_returned >= $limit_orig
444 0 0 if (@annotation_buff == 0 and not $done)
445 0 0 if $VERB > 0
449 0 0 if $VERB > 1
455 0 0 if ($limit_orig eq 'Infinity')
460 0 0 if (defined $next_buf_start)
465 0 0 if $VERB > 0
467 0 0 if (@annotation_buff == 0)
474 0 0 if @annotation_buff == 0
476 0 0 if $VERB > 5
478 0 0 if ($num_returned + 1 == $limit_orig or $json_content->{'total'} == 1)
485 0 0 if $done
508 0 0 unless (defined $id)
523 0 0 if ($content_type eq 'HASH') { }
524 0 0 if (defined $json_content->{'updated'}) { }
525 0 0 if ($json_content->{'updated'}) { }
0 0 elsif (not $json_content->{'deleted'}) { }