Condition Coverage

blib/lib/Parse/Colloquy/Bot.pm
Criterion Covered Total %
condition 13 36 36.1


and 3 conditions

line !l l&&!r l&&r condition
81 4 0 0 $args{'msgtype'} =~ /^TALK|TELL$/ and /^(\S+)\s+[:>](.*)\s*$/
4 0 0 $args{'msgtype'} eq 'LISTINVITE' and /((\S+)\s+invites\s+you\s+to\s+(\S+)\s+To\s+respond,\s+type\s+(.+))\s*$/
4 0 0 $args{'msgtype'} eq 'LISTTALK' and /^(\S+)\s*%(.*)\s+{(.+?)}\s*$/
4 0 0 $args{'msgtype'} eq 'LISTEMOTE' and /^%\s*(\S+)\s+(.*)\s+{(.+?)}\s*$/
4 0 0 $args{'msgtype'} eq 'OBSERVED' and /^(\S+)\s+(\S+)\s+(\S+)\s+\@(.+)\s+{(\@.+?)}\s*$/
4 0 0 $args{'msgtype'} eq 'OBSERVED' and /^(\S+)\s+(\S+)\s+(?:\@\s+)(\S+)\s+(.+)\s+{(\@.+?)}\s*$/
4 0 0 $args{'msgtype'} eq 'OBSERVED' and /^(\S+)\s+GROUPCHANGE\s+(\S+)\s+(.*)\s*$/
4 0 0 $args{'msgtype'} eq 'SHOUT' and /^(\S+)\s+\!(.*)\s*$/
4 0 0 $args{'msgtype'} eq 'CONNECT' and /^((\S+).+\s+(\S+)\.)\s*$/
4 0 0 $args{'msgtype'} eq 'IDLE' and /^((\S+)(.*))\s*$/

or 2 conditions

line l !l condition
67 4 0 $1 || ''
4 0 $2 || ''
4 0 $_ || ''