Condition Coverage

lib/Coro/Twiggy.pm
Criterion Covered Total %
condition 7 14 50.0


and 3 conditions

line !l l&&!r l&&r condition
174 0 0 3 defined $$res[0] and $$res[0] =~ /^\d+$/

or 2 conditions

line l !l condition
102 1 0 $opts{'port'} || 8080
104 0 1 $opts{'service'} || sub { [503, ['Content-Type', 'text/plain'], ['There is no registered PSGI service']]; }
143 5 0 $cb || sub { [503, ['Content-Type', 'text/plain'], ['There is no registered PSGI service']]; }
182 1 1 $msg ||= 'PSGI returned wrong response'

or 3 conditions

line l !l&&r !l&&!r condition
119 0 1 0 ref $class || $class