Branch Coverage

blib/lib/Google/API/Method.pm
Criterion Covered Total %
branch 0 24 0.0


line true false branch
15 0 0 unless $param{$required}
27 0 0 if ($self->{'opt'}{'body'} and $self->{'opt'}{'body'}{$p})
34 0 0 if ($http_method eq 'POST' or $http_method eq 'PUT' or $http_method eq 'PATCH' or $http_method eq 'DELETE') { }
0 0 elsif ($http_method eq 'GET') { }
42 0 0 if (%{$self->{'opt'}{'body'};}) { }
54 0 0 if ($arg->{'key'})
60 0 0 if ($arg->{'auth_driver'})
67 0 0 if ($response->code == 401 and $arg->{'auth_driver'})
75 0 0 unless ($response->is_success)
78 0 0 if ($response->code == 204)
82 0 0 $response->header('content-type') =~ m[^application/json] ? :
90 0 0 if ($response->content and $response->header("content-type") =~ m[^application/json])