Branch Coverage

blib/lib/Path/Dispatcher/Declarative/Builder.pm
Criterion Covered Total %
branch 20 32 62.5


line true false branch
37 0 0 unless $OUTERMOST_DISPATCHER
46 46 0 unless $OUTERMOST_DISPATCHER
56 0 0 unless $OUTERMOST_DISPATCHER
66 0 2 unless $OUTERMOST_DISPATCHER
68 1 1 ref $to eq 'CODE' ? :
130 2 1 unless (ref $dispatcher)
156 3 0 if (keys %$metadata_matchers == 1)
198 1 80 if ($matcher eq '') { }
56 24 elsif (not ref $matcher) { }
209 0 81 unless $rule_creator
218 32 61 if (blessed($_[0]) and $_[0]->isa('Path::Dispatcher::Rule')) { }
233 53 0 defined $_ ? :
234 53 0 defined $_ ? :
240 2 39 if length $str == 0
242 0 41 unless $str =~ qr/^$re$/
258 93 0 if (not defined wantarray) { }