Branch Coverage

blib/lib/Web/MREST/Test.pm
Criterion Covered Total %
branch 15 26 57.6


line true false branch
121 0 21 $ARGS{'sitedir'} ? :
172 37 0 if ref $obj eq 'App::CELL::Status'
197 0 37 if (ref $test ne 'Plack::Test::MockHTTP')
212 0 37 if $res->code == 500
215 9 28 $json ? :
217 37 0 if ($content)
219 9 28 $json ? :
221 1 36 if (my $location_header = $res->header('Location'))
239 50 17 if (@args) { }
248 12 55 if (@args and defined $args[0])
268 0 0 if (ref $test ne 'Plack::Test::MockHTTP')
283 0 0 if (exists $status->{'payload'})
299 0 0 if (exists $status->{'payload'})