Branch Coverage

blib/lib/WWW/Hetzner/Role/HTTP.pm
Criterion Covered Total %
branch 13 14 92.8


line true false branch
61 36 35 if ($method eq "GET" and $opts{'params'})
65 1 9 unless defined $v
68 8 28 if @pairs
83 59 83 if ($opts{'body'})
98 140 2 if ($response->content and $response->content =~ /^\s*[\{\[]/)
102 4 138 unless ($response->status >= 200 and $response->status < 300)
116 0 139 unless $self->token