Branch Coverage

blib/lib/Net/Disqus/UserAgent.pm
Criterion Covered Total %
branch 3 28 10.7


line true false branch
21 1 0 if (not $args{'forcelwp'}) { }
23 0 1 if (not $@) { }
29 0 1 if $@
33 0 0 if $@
62 0 0 $method eq 'get' ? :
65 0 0 $method eq 'get' ? :
69 0 0 if $method eq 'post'
72 0 0 if $res->headers->content_type and $res->headers->content_type ne 'application/json' and not $self->pass_content_as_is
78 0 0 $self->pass_content_as_is ? :
89 0 0 $self->ua_key eq 'mojo' ? :
103 0 0 if $method eq 'get'
106 0 0 if $method eq 'post'
108 0 0 if $res->header('Content-Type') ne 'application/json' and not $self->pass_content_as_is
110 0 0 if ($self->pass_content_as_is) { }