Condition Coverage

blib/lib/AnyEvent/Discord.pm
Criterion Covered Total %
condition 4 52 7.6


and 3 conditions

line !l l&&!r l&&r condition
140 0 0 0 $payload and defined $payload->op
144 0 0 0 $payload->s and $payload->s > 0
243 0 0 0 $payload and $payload->{'url'}
0 0 0 $payload and $payload->{'url'} and $payload->{'url'} =~ /^wss/u
308 0 0 0 defined $opcode and not ref $opcode
0 0 0 defined $opcode and not ref $opcode and &Scalar::Util::looks_like_number($opcode)
324 0 0 0 defined $opcode and not ref $opcode
0 0 0 defined $opcode and not ref $opcode and &Scalar::Util::looks_like_number($opcode)
329 0 0 0 defined $opcode and not ref $opcode
0 0 0 defined $opcode and not ref $opcode and &Scalar::Util::looks_like_number($opcode)
334 0 0 0 defined $opcode and not ref $opcode
0 0 0 defined $opcode and not ref $opcode and &Scalar::Util::looks_like_number($opcode)
339 0 0 0 defined $opcode and not ref $opcode
0 0 0 defined $opcode and not ref $opcode and &Scalar::Util::looks_like_number($opcode)
344 0 0 0 defined $opcode and not ref $opcode
0 0 0 defined $opcode and not ref $opcode and &Scalar::Util::looks_like_number($opcode)

or 2 conditions

line l !l condition
59 2 3 $self->_events->{$event_type} //= []
68 2 1 $handler || 'n/a'