Condition Coverage

lib/Catalyst/Action/Serialize.pm
Criterion Covered Total %
condition 3 8 37.5


and 3 conditions

line !l l&&!r l&&r condition
36 8 0 0 $c->response->status =~ /^(?:3\d\d)$/ and not defined $c->stash->{$stash_key}

or 2 conditions

line l !l condition
34 8 0 ($controller->{'serialize'} ? $controller->{'serialize'}{'stash_key'} : $controller->{'stash_key'}) || 'rest'

or 3 conditions

line l !l&&r !l&&!r condition
53 0 0 8 $self->_encoders->{$sclass} ||= $sclass->new