Branch Coverage

lib/WebService/Qiita/Client/Base.pm
Criterion Covered Total %
branch 14 14 100.0


line true false branch
59 10 14 if $self->token
64 20 4 if ($method eq 'GET' or $method eq 'DELETE') { }
3 1 elsif ($method eq 'POST' or $method eq 'PUT') { }
75 3 20 if $response->is_error
77 19 1 $response->content ? :
84 2 1 if ($content)
86 1 1 if $json and $$json{'error'}