Condition Coverage

blib/lib/Mojo/IRC/UA.pm
Criterion Covered Total %
condition 23 66 34.8


and 3 conditions

line !l l&&!r l&&r condition
151 4 0 11 ref $item eq 'HASH' and $item->{'1'}
0 0 11 ref $item eq 'HASH' and $item->{'1'} and $item->{'1'} eq $channel
208 0 0 0 $mode and $mode =~ /(\S+)\s+(.+)/

or 2 conditions

line l !l condition
6 0 11 $ENV{'MOJO_IRC_DEBUG'} || 0
33 2 0 $msg->{'params'}[3] // ''
51 5 2 $topic // ''
79 1 0 $msg->{'params'}[2] // ''
181 2 0 $target //= ''
182 2 0 $user //= ''
198 2 0 $msg->{'params'}[2] //= ''
300 1 0 $msg->{'params'}[2] || ''
335 40 49 $self->{'write_and_wait'}{$msg->{'event'}} || {}

or 3 conditions

line l !l&&r !l&&!r condition
42 0 0 0 $err || $msg->{'params'}[1] || $event
85 2 0 0 $msg->{'params'}[2] || $event
0 2 0 $err ||= $msg->{'params'}[2] || $event
116 0 0 0 $err || $msg->{'params'}[2] || $event
171 1 0 0 $err || $msg->{'params'}[2] || $event
200 1 0 0 $err || $msg->{'params'}[2] || $event
217 3 10 0 $self->{'nick'} ||= $self->_build_nick
237 1 0 0 $err || $msg->{'params'}[2] || $event
275 1 0 0 $err || $msg->{'params'}[2] || $event
328 0 0 0 $err || $msg->{'params'}[2] || $event
366 0 0 0 $err || $msg->{'params'}[2] || $event
386 0 0 0 $err || $event
396 7 0 0 $map->{$1} || $1