Condition Coverage

blib/lib/DDG/Rewrite.pm
Criterion Covered Total %
condition 17 21 80.9


and 3 conditions

line !l l&&!r l&&r condition
13 13 5 1 $to =~ s/\{\{callback\}\}/$callback/g and not $self->has_callback
116 14 1 0 $self->wrap_jsonp_callback and $self->wrap_string_callback
117 12 2 1 $self->has_callback && $self->wrap_jsonp_callback
118 12 3 0 $self->has_callback && $self->wrap_string_callback
126 13 0 2 $self->has_upstream_timeouts && $self->upstream_timeouts
127 13 1 1 ref $timeouts eq 'HASH' and keys %$timeouts

or 3 conditions

line l !l&&r !l&&!r condition
119 1 0 14 $wrap_jsonp_callback || $wrap_string_callback