Branch Coverage

blib/lib/Path/Dispatcher/Rule/Tokens.pm
Criterion Covered Total %
branch 15 30 50.0


line true false branch
41 40 62 unless $self->_match_token($got, $expected)
57 41 43 if @$expected
58 4 39 if @$got and not $self->prefix
62 0 39 unless $matched
75 0 0 if @$got > 1
76 0 0 unless @$expected
79 0 0 @$got ? :
82 0 0 ref $next eq 'ARRAY' ? :
83 0 0 if ref $completion
85 0 0 unless substr($completion, 0, length $part) eq $part
98 11 107 if (ref $expected eq 'ARRAY') { }
107 0 elsif (not ref $expected or ref $expected eq 'Regexp') { }
119 102 5 if (not ref $e) { }
5 0 elsif (ref $e eq 'Regexp') { }
120 2 100 unless $self->case_sensitive