Condition Coverage

blib/lib/Net/Disqus/UserAgent.pm
Criterion Covered Total %
condition 1 16 6.2


and 3 conditions

line !l l&&!r l&&r condition
72 0 0 0 $res->headers->content_type and $res->headers->content_type ne 'application/json'
0 0 0 $res->headers->content_type and $res->headers->content_type ne 'application/json' and not $self->pass_content_as_is
108 0 0 0 $res->header('Content-Type') ne 'application/json' and not $self->pass_content_as_is

or 2 conditions

line l !l condition
77 0 0 $res->headers->to_hash->{$_} || 0
119 0 0 $res->header($_) || 0

or 3 conditions

line l !l&&r !l&&!r condition
20 0 1 0 $args{'agent'} ||= "Net::Disqus/$Net::Disqus::VERSION"