Condition Coverage

blib/lib/Sprocket/Server.pm
Criterion Covered Total %
condition 11 27 40.7


and 3 conditions

line !l l&&!r l&&r condition
247 6 0 0 $con->close_on_flush and not $con->get_driver_out_octets

or 2 conditions

line l !l condition
57 6 0 $$self{'name'} ||= 'Server'
58 6 0 $$self{'opts'}{'listen_address'} ||= "\000\000\000\000"
59 0 6 $$self{'opts'}{'domain'} ||= 2
62 0 6 $$self{'opts'}{'listen_queue'} ||= 10000
63 0 6 $$self{'opts'}{'reuse'} ||= 'yes'
148 0 4 $$opts{'block_size'} ||= 2048

or 3 conditions

line l !l&&r !l&&!r condition
95 1 5 0 $$self{'opts'}{'listen_port'} || $port
96 6 0 0 $ip || $$self{'opts'}{'listen_address'}
149 0 4 0 $$opts{'filter'} ||= 'POE::Filter::Stackable'->new('Filters', ['POE::Filter::Stream'->new])
158 0 0 0 $$opts{'filter'}->isa('POE::Filter::Stackable') or $$opts{'filter'}->can('push')