Branch Coverage

blib/lib/Test/WWW/Stub/Handler.pm
Criterion Covered Total %
branch 12 14 85.7


line true false branch
18 0 14 if (&blessed($app_or_res) and $app_or_res->isa('Test::WWW::Stub::Handler'))
23 1 13 if ($type eq 'CODE') { }
13 0 elsif ($type eq 'ARRAY') { }
41 8 21 unless $matched
53 22 7 $self->is_static_pattern ? :
58 15 7 $uri eq $self->{'pattern'} ? :
66 6 1 @captures > 0 ? :