Branch Coverage

lib/Catalyst/Action/Serialize.pm
Criterion Covered Total %
branch 15 28 53.5


line true false branch
22 0 24 if $c->req->method eq 'HEAD'
23 16 8 if $c->response->has_body
24 0 8 if scalar @{$c->error;}
25 0 8 if $c->response->status =~ /^(?:204)$/
26 0 8 if defined $c->stash->{'current_view'}
27 0 8 if defined $c->stash->{'current_view_instance'}
36 0 8 if $c->response->status =~ /^(?:3\d\d)$/ and not defined $c->stash->{$stash_key}
41 0 8 unless (defined $sclass)
42 0 0 if (defined $content_type) { }
51 0 0 $sarg ? :
0 8 if $c->debug
58 3 5 if (defined $sarg) { }
64 1 7 if ($@) { }
0 7 elsif (not $rc) { }