lib/Catalyst/Action/Serialize.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 3 | 8 | 37.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
36 | 8 | 0 | 0 | $c->response->status =~ /^(?:3\d\d)$/ and not defined $c->stash->{$stash_key} |
line | l | !l | condition |
---|---|---|---|
34 | 8 | 0 | ($controller->{'serialize'} ? $controller->{'serialize'}{'stash_key'} : $controller->{'stash_key'}) || 'rest' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
53 | 0 | 0 | 8 | $self->_encoders->{$sclass} ||= $sclass->new |