Branch Coverage

blib/lib/PAGI/Endpoint/Router.pm
Criterion Covered Total %
branch 17 28 60.7


line true false branch
39 1 14 builtin::blessed($class) ? :
108 4 13 @wrapped_mw ? :
116 4 19 if (@args == 2 and ref $args[0] eq 'ARRAY') { }
19 0 elsif (@args == 1) { }
134 17 0 unless (ref $handler)
136 0 17 unless my $method = $endpoint->can($method_name)
169 0 3 @wrapped_mw ? :
180 3 0 unless (ref $handler)
182 0 3 unless my $method = $endpoint->can($method_name)
214 0 3 @wrapped_mw ? :
225 3 0 unless (ref $handler)
227 0 3 unless my $method = $endpoint->can($method_name)
259 5 0 unless (ref $mw)
260 0 5 unless my $method = $endpoint->can($mw)