blib/lib/POE/Filter/IRCv3.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 21 | 71.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
106 | 17 | 0 | 4 | exists $$event{'tags'} and my(@tags) = %{$$event{'tags'};} |
128 | 4 | 0 | 17 | $$event{'params'} and my(@params) = @{$$event{'params'};} |
197 | 2 | 1 | 23 | ($nextsp = index($raw_line, ' ', $pos)) > 0 and length($event{'prefix'} = substr($raw_line, $pos + 1, $nextsp - $pos - 1)) |
line | l | !l | condition |
---|---|---|---|
41 | 2 | 2 | $params{'COLONIFY'} || 0 |
0 | 4 | $params{'DEBUG'} || $ENV{'POE_FILTER_IRC_DEBUG'} || 0 | |
180 | 12 | 0 | substr($thisval, $tag_pos++, 1) || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
135 | 9 | 0 | 8 | index($param, ' ') != -1 or index($param, ':') == 0 |
9 | 0 | 8 | index($param, ' ') != -1 or index($param, ':') == 0 or defined $$event{'colonify'} ? $$event{'colonify'} : $$self[0] |