Condition Coverage

blib/lib/DDG/Request.pm
Criterion Covered Total %
condition 4 8 50.0


and 3 conditions

line !l l&&!r l&&r condition
117 9 15 0 $to_pos < $max and $from_pos == 0 || $from_pos == 2 && $query_raw_parts[0] eq ''

or 2 conditions

line l !l condition
144 0 0 $self->remainder || ''

or 3 conditions

line l !l&&r !l&&!r condition
117 7 0 8 $from_pos == 0 || $from_pos == 2 && $query_raw_parts[0] eq ''