Condition Coverage

blib/lib/Plack/App/Hostname.pm
Criterion Covered Total %
condition 10 14 71.4


or 2 conditions

line l !l condition
27 1 0 $self->{'_app_for_host'} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
42 10 0 11 $map->{$host} or ()
47 2 17 0 $map->{$pattern} or ()
68 12 2 7 $self->matching($host) || $self->default_app
72 1 0 9 $app || $sadtrombone