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 10 0 $$map{$host} or ()
49 2 2 0 $$map{$pattern} or ()
71 12 2 6 $self->matching(map({s/:$$env{'SERVER_PORT'}\z//; $_;} $host)) || $self->default_app
74 1 0 8 $app || $sadtrombone