Condition Coverage

blib/lib/DR/Tarantool/AEConnection.pm
Criterion Covered Total %
condition 10 26 38.4


or 2 conditions

line l !l condition
23 0 6 $opts{'host'} ||= '127.0.0.1'
27 0 6 $opts{'on'}{'connected'} ||= sub { }
28 0 6 $opts{'on'}{'connfail'} ||= sub { }
29 0 6 $opts{'on'}{'disconnect'} ||= sub { }
30 0 6 $opts{'on'}{'error'} ||= sub { }
31 0 6 $opts{'on'}{'reconnecting'} ||= sub { }
45 8 0 $cb || sub { }

or 3 conditions

line l !l&&r !l&&!r condition
38 0 6 0 ref $class || $class
66 0 2 0 $errno ||= $error
100 0 0 16 $self->state eq 'connected' or $self->state eq 'connecting'
154 0 0 0 $self->state eq 'disconnect' or $self->state eq 'init'