Condition Coverage

blib/lib/Pinwheel/Controller.pm
Criterion Covered Total %
condition 22 22 100.0


and 3 conditions

line !l l&&!r l&&r condition
174 12 1 12 $$ctx{'request'} and not $path =~ m[^\w+://]
191 1 3 5 defined $url and $url =~ m[/]
213 2 50 1 not $$ctx{'rendering'} and $options{'format'}
710 7 3 29 $params && $$params{'controller'} =~ /^[a-z][a-z0-9_]*$/ && $$params{'action'} =~ /^[a-z][a-z0-9_]*$/

or 2 conditions

line l !l condition
188 3 6 delete $options{'status'} || 302
259 10 12 $$ctx{'error'} || 0
261 10 12 $$ctx{'error'} || 0
432 9 2 $value || ''
655 1 3 $$pkg{'HELPERS'} || []