Condition Coverage

lib/CPAN/Testers/WWW/Reports/Query/Reports.pm
Criterion Covered Total %
condition 9 15 60.0


or 2 conditions

line l !l condition
103 2 1 shift() || (return)
114 5 1 shift() || (return)
145 0 0 $@ || 'no data returned'

or 3 conditions

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