Branch Coverage

blib/lib/Net/CyanChat.pm
Criterion Covered Total %
branch 0 68 0.0


line true false branch
41 0 0 if ($$self{'proto'} < 0 or $$self{'proto'} > 1)
57 0 0 unless $$self{'debug'} == 1
65 0 0 if (defined $$self{'sock'}) { }
69 0 0 unless ($$self{'sock'}->send("$data\r\n"))
105 0 0 unless (defined $$self{'sock'})
119 0 0 unless $self->do_one_loop
131 0 0 if (length $nick > 0)
144 0 0 unless length $$self{'nickname'} > 0
158 0 0 unless length $msg > 0
170 0 0 unless length $to > 0 and length $msg > 0
233 0 0 unless length $who > 0
245 0 0 unless length $who > 0
287 0 0 unless exists $$self{'handlers'}{$event}
295 0 0 if ($$self{'pinged'} > 0)
297 0 0 if ($$self{'connected'} == 1)
299 0 0 if ($$self{'accepted'} == 1)
301 0 0 if (time - $$self{'pinged'} >= $$self{'refresh'})
310 0 0 unless defined $$self{'select'}
314 0 0 unless @ready
329 0 0 if ($command == 10) { }
0 0 elsif ($command == 11) { }
0 0 elsif ($command == 21) { }
0 0 elsif ($command == 31) { }
0 0 elsif ($command == 35) { }
0 0 elsif ($command == 40) { }
0 0 elsif ($command == 70) { }
351 0 0 if exists $$self{'ignored'}{$nick}
378 0 0 if exists $$self{'ignored'}{$nick}
388 0 0 if ($type == 2) { }
0 0 elsif ($type == 3) { }
438 0 0 if ($level == 0) { }
464 0 0 unless (exists $this{$fullNick})
471 0 0 unless (exists $this{$fullNick})
478 0 0 if ($$self{'connected'} == 0)