Condition Coverage

blib/lib/POE/Component/IRC/Service/Hybrid.pm
Criterion Covered Total %
condition 0 154 0.0


and 3 conditions

line !l l&&!r l&&r condition
50 0 0 0 $alias and $hash
60 0 0 0 defined $hash->{'EventMode'} and $hash->{'EventMode'} == 0
62 0 0 0 defined $hash->{'Reconnect'} and $hash->{'Reconnect'} == 1
64 0 0 0 defined $hash->{'Debug'} and $hash->{'Debug'} == 1
139 0 0 0 $hash->{'ServerName'} and $hash->{'RemoteServer'}
0 0 0 $hash->{'ServerName'} and $hash->{'RemoteServer'} and $hash->{'Password'}
0 0 0 $hash->{'ServerName'} and $hash->{'RemoteServer'} and $hash->{'Password'} and $hash->{'ServerPort'}
509 0 0 0 defined $numeric and defined $to
0 0 0 defined $numeric and defined $to and defined $message
527 0 0 0 defined $numeric and defined $chan
0 0 0 defined $numeric and defined $chan and defined $nick
639 0 0 0 defined $numeric and defined $one
667 0 0 0 defined $numeric and defined $arg
682 0 0 0 defined $one and defined $two
696 0 0 0 defined $numeric and defined $one
0 0 0 defined $numeric and defined $one and defined $two
710 0 0 0 defined $numeric and defined $to
0 0 0 defined $numeric and defined $to and defined $message
787 0 0 0 defined $nick and defined $channel
858 0 0 0 $server eq $self->{'servers_name'}{$_}{'Link'} and not defined $self->{'servers_name'}{$server}{'ToDelete'}
958 0 0 0 defined $currentumode and $currentumode
1120 0 0 0 exists $self->{'channels'}{$channel} and $timestamp < $self->{'channels'}{$channel}{'TimeStamp'}
1132 0 0 0 $l > $k and $k != -1
1137 0 0 0 $l > $k and $k == -1
1141 0 0 0 $k > $l and $l != -1
1146 0 0 0 $k > $l and $l == -1

or 2 conditions

line l !l condition
799 0 0 shift() || (return undef)
809 0 0 shift() || (return 0)
822 0 0 shift() || (return undef)
854 0 0 shift() || (return 0)
871 0 0 $_[0] || (return 0)
872 0 0 $_[1] || (return 0)
873 0 0 $_[2] || (return 0)
874 0 0 $_[3] || (return 0)
876 0 0 $_[5] || undef
877 0 0 $_[6] || undef
906 0 0 u_irc($_[0]) || (return 0)
922 0 0 u_irc($_[0]) || (return 0)
923 0 0 $_[1] || (return 0)
935 0 0 u_irc($_[0]) || (return 0)
936 0 0 $_[1] || (return 0)
968 0 0 $_[0] || (return 0)
969 0 0 u_irc($_[1]) || (return 0)
987 0 0 u_irc($_[0]) || (return 0)
988 0 0 u_irc($_[1]) || (return 0)
1000 0 0 u_irc($_[0]) || (return 0)
1001 0 0 $_[1] || (return 0)
1002 0 0 $_[2] || (return 0)
1003 0 0 $_[3] || (return 0)
1013 0 0 u_irc($_[0]) || (return 0)
1023 0 0 u_irc($_[0]) || (return 0)
1024 0 0 $_[1] || (return 0)
1025 0 0 $_[2] || (return 0)
1098 0 0 u_irc($_[0]) || (return 0)
1099 0 0 $_[1] || (return 0)
1100 0 0 $_[2] || (return 0)
1101 0 0 $_[3] || (return 0)
1114 0 0 shift() || (return 0)

or 3 conditions

line l !l&&r !l&&!r condition
183 0 0 0 $heap->{'sessions'}{$sender}{'refcnt'}++ or $session == $sender
396 0 0 0 $umode =~ /^\+/ or not defined $umode
828 0 0 0 $char eq '+' or $char eq '-'
875 0 0 0 $_[4] || time