Condition Coverage

blib/lib/POE/Component/IRC/Plugin/MegaHAL.pm
Criterion Covered Total %
condition 1 30 3.3


and 3 conditions

line !l l&&!r l&&r condition
32 1 0 0 defined $$self{'Method'} and $$self{'Method'} =~ /privmsg|notice/
147 0 0 0 $$self{'Own_channel'} and $self->_is_own_channel($chan)
178 0 0 0 $last_time and time - $last_time < $$self{'Abuse_interval'}
192 0 0 0 $$self{'Own_channel'} and $self->_is_own_channel($chan)
0 0 0 $type eq 'public' and $what =~ s/^\s*\Q$nick\E[:,;.!?~]?\s//i
0 0 0 $$self{'Talkative'} and $what =~ /\Q$nick\E/i
199 0 0 0 $event eq '_megahal_reply' and $self->_ignoring_abuser($user, $chan)
232 0 0 0 $$self{'Own_channel'} and $self->_is_own_channel($chan)

or 3 conditions

line l !l&&r !l&&!r condition
192 0 0 0 $$self{'Own_channel'} and $self->_is_own_channel($chan) or $type eq 'public' and $what =~ s/^\s*\Q$nick\E[:,;.!?~]?\s//i
0 0 0 $$self{'Own_channel'} and $self->_is_own_channel($chan) or $type eq 'public' and $what =~ s/^\s*\Q$nick\E[:,;.!?~]?\s//i or $$self{'Talkative'} and $what =~ /\Q$nick\E/i