Branch Coverage

blib/lib/Test/Mock/HTTP/Tiny.pm
Criterion Covered Total %
branch 5 12 41.6


line true false branch
28 1 0 if (ref $new_mocked_data eq 'ARRAY') { }
0 0 elsif (ref $new_mocked_data eq 'HASH') { }
45 0 1 if (ref $new_mocked_data eq 'ARRAY') { }
1 0 elsif (ref $new_mocked_data eq 'HASH') { }
89 0 1 if (exists $args->{'headers'}{'content-type'} and $args->{'headers'}{'content-type'} eq 'application/x-www-form-urlencoded')
107 0 1 unless eq_deeply([$mock_req->{'method'}, $mock_req->{'url'}, $mock_req->{'args'}], [$method, $url, $normalized_args])