Condition Coverage

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


or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
44 10 0 10 $map->{$host} or ()
49 2 2 0 $map->{$pattern} or ()
70 12 2 6 $self->matching($host) || $self->default_app
74 1 0 8 $app || $sadtrombone