Branch Coverage

blib/lib/TiddlyWeb/Resting.pm
Criterion Covered Total %
branch 0 80 0.0


line true false branch
59 0 0 if (ref $pname) { }
74 0 0 if $self->json_verbose
76 0 0 if $accept eq 'perl_hash'
83 0 0 if ($status == 200 or $status == 404) { }
85 0 0 if (($self->accept || '') eq 'perl_hash')
86 0 0 if ($status == 200) { }
113 0 0 if (ref $page_content)
126 0 0 if ($bag) { }
140 0 0 if ($bag) { }
0 0 elsif (my $prev_etag = $$self{'etag_cache'}{"recipe:$workspace"}{$page_id}) { }
141 0 0 if (my $prev_etag = $$self{'etag_cache'}{"bag:$bag"}{$page_id})
156 0 0 if ($status == 204 or $status == 201) { }
172 0 0 unless ($$replacements{'type'})
214 0 0 if ($self->filter)
217 0 0 if ($self->query)
220 0 0 if ($self->order)
223 0 0 if ($self->count)
226 0 0 if (@extend)
246 0 0 if (exists $replacements{'_query'})
251 0 0 if (my $query = join(';', @params))
252 0 0 if ($uri =~ /\?/) { }
261 0 0 if $accept eq 'perl_hash'
268 0 0 if ($status == 200 and wantarray) { }
0 0 elsif ($status == 200) { }
0 0 elsif ($status == 404) { }
0 0 elsif ($status == 302) { }
272 0 0 if ($self->accept || '') eq 'perl_hash'
292 0 0 if $wksp
294 0 0 if $wksp
309 0 0 unless $server
312 0 0 if $self->verbose
315 0 0 if ($self->user_cookie) { }
320 0 0 if $p{'accept'}
321 0 0 if $p{'type'}
322 0 0 if $p{'if_match'}
323 0 0 if ($p{'method'} eq 'PUT')
325 0 0 if $p{'content'}
329 0 0 if (my $cookie = $self->cookie)
332 0 0 if $p{'content'}
335 0 0 if ($self->http_header_debug)