Condition Coverage

blib/lib/Web/Dispatch/Parser.pm
Criterion Covered Total %
condition 21 29 72.4


and 3 conditions

line !l l&&!r l&&r condition
62 3 137 1 not $close and $nested
140 0 1 not $close and $nested and pos $_ == length $_
182 2 6 86 @path and not $end
8 3 83 @path and not $end and not $keep_dot
183 30 53 0 length $_ and $_ .= '(?:\\.\\w+)?'

or 2 conditions

line l !l condition
24 0 0 pos $_ || 0
32 1 0 pos $_ || 0
269 12 67 $spec{'required'} ||= []
274 11 82 $spec{$is_kw ? 'named' : 'positional'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
41 109 141 0 $self->_cache->{$spec} ||= $self->_parse_spec($spec)
269 14 0 0 /\G\~/cg || $self->_blam('Expected = or ~ after parameter name')