Condition Coverage

lib/CPAN/Testers/WWW/Reports/Query/Report.pm
Criterion Covered Total %
condition 14 24 58.3


or 2 conditions

line l !l condition
84 7 8 $hash{'as_json'} || 0
85 7 8 $hash{'as_hash'} || 0
118 0 0 $@ || 'no data returned'

or 3 conditions

line l !l&&r !l&&!r condition
86 1 14 0 $hash{'host'} || $HOST
101 0 0 14 $@ or not $mech->success
117 0 0 14 $@ or not $data
127 5 0 8 $hash{'as_json'} || !defined($hash{'as_json'}) && $self->{'as_json'}
128 2 0 4 $hash{'as_hash'} || !defined($hash{'as_hash'}) && $self->{'as_hash'}
7 6 0 $as ||= $hash{'as_hash'} || !defined($hash{'as_hash'}) && $self->{'as_hash'} ? 'hash' : 'fact'