Branch Coverage

blib/lib/Plack/Builder.pm
Criterion Covered Total %
branch 19 22 86.3


line true false branch
19 67 1 if (ref $mw ne 'CODE')
30 2 1 if (ref $mw ne 'CODE')
45 5 0 unless ($self->{'_urlmap'})
56 55 4 if ($app) { }
3 1 elsif ($self->{'_urlmap'}) { }
60 3 0 if &Scalar::Util::blessed($self->{'_urlmap'})
70 1 58 if ($self->{'_urlmap'} and $app ne $self->{'_urlmap'})
92 5 8 if (&Scalar::Util::blessed($self)) { }
120 4 50 if ($mount_is_called)
121 1 3 if ($app ne $urlmap) { }
129 0 54 if $app and &Scalar::Util::blessed($app) and $app->can('to_app')