Condition Coverage

blib/lib/Plack/Middleware/ServerName.pm
Criterion Covered Total %
condition 6 15 40.0


and 3 conditions

line !l l&&!r l&&r condition
28 3 0 0 defined $$self{'order'} and ref $$self{'order'} eq 'ARRAY'
1 2 0 defined $$self{'name'} and defined $$header_order{$$self{'name'}}
3 0 0 defined $$self{'name'} and defined $$header_order{$$self{'name'}} and ref $$header_order{$$self{'name'}} eq 'ARRAY'
36 3 0 0 defined $$headers{'date'} and not defined $$headers{'last-modified'}
37 0 0 1 not defined $$self{'name'} and defined $$headers{'server'}