Condition Coverage

lib/CPAN/Testers/WWW/Reports/Query/Reports.pm
Criterion Covered Total %
condition 10 15 66.6


or 2 conditions

line l !l condition
103 3 1 shift() || (return)
114 9 1 shift() || (return)
147 0 0 $@ || 'no data returned'

or 3 conditions

line l !l&&r !l&&!r condition
116 6 2 1 $range =~ /^(\d+)?\-(\d+)?$/ or $range =~ /^(\d+)$/
131 1 0 9 $@ or not $mech->success
145 0 0 9 $@ or not $data