Branch Coverage

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


line true false branch
190 0 0 if (ref $payload ne 'HASH')
194 0 0 unless (exists $payload->{'uri'})
202 0 0 unless (exists $payload->{'permissions'})
210 0 0 unless (exists $payload->{'document'})
213 0 0 unless (exists $payload->{'text'})
216 0 0 unless (exists $payload->{'tags'})
219 0 0 unless (exists $payload->{'target'})
233 0 0 if ($response->code == 200) { }
235 0 0 if (exists $json_content->{'id'}) { }
258 0 0 unless (defined $id)
279 0 0 unless ($success)
283 0 0 if ($content_type eq 'HASH') { }
284 0 0 if (defined $json_content->{'deleted'}) { }
285 0 0 if ($json_content->{'deleted'}) { }
0 0 elsif (not $json_content->{'deleted'}) { }
320 0 0 if (exists $cookies{'Set-Cookie3: XSRF-TOKEN'}) { }
366 0 0 unless (defined $id)
373 0 0 if ($content_type eq 'HASH') { }
374 0 0 if (defined $json_content->{'id'}) { }
0 0 elsif (defined $json_content->{'rows'}) { }
428 0 0 unless (defined $query)
431 0 0 if (defined $query->{'uri'})
436 0 0 unless (defined $page_size)
440 0 0 unless (defined $query->{'limit'})
453 0 0 if defined $limit_orig and $num_returned >= $limit_orig
454 0 0 if (@annotation_buff == 0 and not $done)
455 0 0 if $VERB > 0
459 0 0 if $VERB > 1
463 0 0 if (defined $limit_orig and $limit_orig eq 'Infinity')
468 0 0 if (not defined $limit_orig or $json_content->{'total'} < $limit_orig)
473 0 0 if $VERB > 1
475 0 0 if (defined $last_id)
488 0 0 if $VERB > 0
490 0 0 if (@annotation_buff == 0)
495 0 0 if (@annotation_buff)
500 0 0 if $VERB > 5
502 0 0 if $done or @annotation_buff == 0
533 0 0 unless (defined $query)
536 0 0 if (defined $query->{'uri'})
541 0 0 unless (defined $page_size)
545 0 0 unless (defined $query->{'limit'})
561 0 0 if $VERB > 1
584 0 0 unless (defined $id)
599 0 0 if ($content_type eq 'HASH') { }
600 0 0 if (defined $json_content->{'updated'}) { }
601 0 0 if ($json_content->{'updated'}) { }
0 0 elsif (not $json_content->{'deleted'}) { }