Branch Coverage

blib/lib/MojoX/CloudFlare/Simple.pm
Criterion Covered Total %
branch 0 14 0.0


line true false branch
26 0 0 unless $self->email and $self->key
33 0 0 if $self->user_service_key
35 0 0 unless $url =~ m[^/]
39 0 0 if ($method eq 'GET') { }
0 0 elsif (grep {$method eq $_;} 'POST', 'PUT', 'PATCH', 'DELETE') { }
50 0 0 if ($tx->res->headers->content_type || '') =~ /json/
53 0 0 if $err->{'code'}