Condition Coverage

blib/lib/PAGI/Middleware/Rewrite.pm
Criterion Covered Total %
condition 7 14 50.0


and 3 conditions

line !l l&&!r l&&r condition
84 1 0 0 defined $scope->{'query_string'} and $scope->{'query_string'} ne ""

or 2 conditions

line l !l condition
57 4 0 $config->{'rules'} // die("Rewrite middleware requires 'rules' option")
58 1 3 $config->{'redirect'} // 0
59 1 3 $config->{'redirect_code'} // 301
125 0 0 $1 // ""

or 3 conditions

line l !l&&r !l&&!r condition
95 0 2 0 $scope->{'original_path'} // $path