Branch Coverage

blib/lib/GraphQL/Client/http.pm
Criterion Covered Total %
branch 22 26 84.6


line true false branch
18 9 0 @_ % 2 == 0 ? :
29 1 12 unless $request and ref $request eq "HASH"
30 1 11 unless $request->{'query'}
31 1 10 unless $url
35 2 8 if ($method eq 'GET' or $method eq 'HEAD') { }
36 0 2 if $data->{'variables'}
38 1 1 $url =~ /^[^#]+\?/ ? :
39 2 0 unless $url =~ s/#/$sep$params#/
55 3 7 if (eval { do { $resp->isa('Future') } }) { }
59 1 2 if (my($exception, $category, @other) = $f->failure)
60 1 0 if (ref $exception eq "HASH")
79 4 3 unless $resp->{'success'}
109 1 4 if (my $exception = $@)