Branch Coverage

blib/lib/Test/TCM/Role/API.pm
Criterion Covered Total %
branch 0 16 0.0


line true false branch
180 0 0 if (my $route_prefix = $test->_api_route_prefix // '')
189 0 0 if ($params)
194 0 0 if ($params)
207 0 0 if ($test->can('_before_request_hook'))
219 0 0 if (exists $expected->{'status'}) { }
231 0 0 if (exists $expected->{'json_content'})
233 0 0 unless ($json_content = eval { do { &decode_json(scalar $test->api_client->content) } })
245 0 0 unless cmp_deeply($json_content, $expected->{'json_content'}, 'Data is as expected')