Condition Coverage

blib/lib/POE/Component/Server/Twirc.pm
Criterion Covered Total %
condition 0 59 0.0


and 2 conditions

line l !l condition
803 0 0 $plugin->preprocess($self, $channel, $nick, \$text) and last
820 0 0 $plugin->$event($self, $channel, $nick, \$argstr) and return

and 3 conditions

line !l l&&!r l&&r condition
380 0 0 0 ref $_[-1] && reftype($_[-1]) eq 'CODE'
733 0 0 0 $self->log_channel and $ch eq $self->log_channel
759 0 0 0 $ch eq $self->irc_channel and $nick eq $self->irc_nickname
1325 0 0 0 $onoff and $onoff =~ /^on$|^off$/
1422 0 0 0 $index =~ /^\d+$/ and 0 < $index
0 0 0 $index =~ /^\d+$/ and 0 < $index and $index <= @candidates
1522 0 0 0 $index =~ /^\d+$/ and 0 < $index
0 0 0 $index =~ /^\d+$/ and 0 < $index and $index <= @candidates
1552 0 0 0 defined $nick and defined $message
1598 0 0 0 $index =~ /^\d+$/ and 0 < $index
0 0 0 $index =~ /^\d+$/ and 0 < $index and $index <= @candidates

or 2 conditions

line l !l condition
557 0 0 $self->reconnect_delay * 2 || 1
1644 0 0 $args || ''

or 3 conditions

line l !l&&r !l&&!r condition
500 0 0 0 $$status{'retweeted_status'} || $status
510 0 0 0 $$s{'user'}{'screen_name'} || $$status{'entities'}{'user_mentions'}[0]{'screen_name'}
940 0 0 0 not $friend or $self->is_user_stale($friend)
1381 0 0 0 $count ||= $self->selection_count
1477 0 0 0 $count ||= $self->selection_count
1560 0 0 0 $count ||= $self->selection_count