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 2 5 $hash{'as_json'} || 0
85 3 4 $hash{'as_hash'} || 0
114 0 0 $@ || 'no data returned'

or 3 conditions

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