Condition Coverage

blib/lib/Test/WWW/Mechanize/JSON.pm
Criterion Covered Total %
condition 0 16 0.0


and 3 conditions

line !l l&&!r l&&r condition
173 0 0 0 defined $json and ref $json eq 'HASH'
0 0 0 defined $json and ref $json eq 'HASH' and not $@

or 2 conditions

line l !l condition
183 0 0 $json || undef
243 0 0 shift() || 'Has a utf-8 heaer'

or 3 conditions

line l !l&&r !l&&!r condition
143 0 0 0 $text ||= exists $self->response->headers->{'x-json'} ? $self->response->headers->{'x-json'} : $self->content
217 0 0 0 not ref $json or ref $json ne 'HASH'