Branch Coverage

blib/lib/Web/MREST/Entity.pm
Criterion Covered Total %
branch 14 22 63.6


line true false branch
132 0 1 if ref $json eq 'SCALAR'
139 1 0 $msgobj ? :
185 4 9 if (not defined $content or $content eq '')
197 1 12 if ref $status eq 'SCALAR'
215 0 9 if (ref $handler eq 'SCALAR')
248 0 34 if ((my $reftype = ref $status) ne 'App::CELL::Status')
252 0 34 if ($status->not_ok and not $self->status_declared)
259 0 0 unless ($self->status_declared)
267 0 34 if ref $status eq 'SCALAR'
270 3 31 if ($self->context->{'method'} eq 'PUT')
273 1 2 unless $self->context->{'resource_exists'}