Condition Coverage

blib/lib/Router/PathInfo.pm
Criterion Covered Total %
condition 15 25 60.0


and 3 conditions

line !l l&&!r l&&r condition
98 1 0 0 $param{'as'} and $param{'as'} eq 'singletone'
125 1 0 0 $as_singletone and $singleton
132 1 0 0 defined $$param{'cache_limit'} && $$param{'cache_limit'}
230 0 0 6 not $match and $$self{'static'}
237 2 0 4 not $match and $$self{'controller'}
251 2 3 1 not $not_exactly and $$match{'type'} eq 'controller'

or 2 conditions

line l !l condition
203 3 4 $$env{'REQUEST_METHOD'} ||= 'GET'
243 5 1 $match ||= {'type', 'error', 'code', 404, 'desc', sprintf('not found for PATH_INFO = %s with REQUEST_METHOD = %s', $$env{'PATH_INFO'}, $$env{'REQUEST_METHOD'})}

or 3 conditions

line l !l&&r !l&&!r condition
216 1 0 6 $$self{'cache'}{$cache_key} || $$self{'_hidden_cache'}{$cache_key}