Condition Coverage

blib/lib/Parse/IRC.pm
Criterion Covered Total %
condition 12 22 54.5


and 3 conditions

line !l l&&!r l&&r condition
126 6 0 2 $$self{'ctcp'} and $$event{'command'} =~ /^(PRIVMSG|NOTICE)$/
6 2 0 $$self{'ctcp'} and $$event{'command'} =~ /^(PRIVMSG|NOTICE)$/ and $$event{'params'}[1] =~ tr/\cA//
129 5 0 1 $$self{'public'} and $$event{'command'} eq 'PRIVMSG'
5 0 1 $$self{'public'} and $$event{'command'} eq 'PRIVMSG' and $$event{'params'}[0] =~ /^(\x23|\x26)/
148 2 0 0 $$self{'identifymsg'} and $msg =~ /^.ACTION/

or 2 conditions

line l !l condition
104 2 0 shift() || (return)
117 8 0 shift() || (return)

or 3 conditions

line l !l&&r !l&&!r condition
123 8 0 0 defined $middles or defined $trailing