Branch Coverage

blib/lib/Sirc/Autoop.pm
Criterion Covered Total %
branch 0 82 0.0


line true false branch
81 0 0 if $Debug
86 0 0 if $Verbose or $Debug
97 0 0 unless defined $type
98 0 0 if ($type ne 'o' and $type ne 'v')
107 0 0 if ($one and $two)
119 0 0 unless $h
124 0 0 if ($$h{$pat} < $expire) { }
127 0 0 unless (%$h)
133 0 0 if $s =~ /$pat/
146 0 0 if $mode eq 'autovoice'
149 0 0 if ($Sirc::Autoop::Chan_op{$this_channel}{$this_nick}) { }
0 0 elsif ($mode eq 'v' and $Sirc::Autoop::Chan_voice{$this_channel}{$this_nick}) { }
0 0 elsif ($mode eq 'v' and not $main::mode{lc $this_channel} =~ /m/) { }
0 0 elsif ($type eq 'autovoice' and sticky_devoice($this_channel, $this_nick, $this_userhost)) { }
0 0 elsif (not $Sirc::Autoop::Chan_user{$this_channel}{$this_nick}) { }
185 0 0 unless have_ops($this_channel)
186 0 0 if ieq($this_nick, $main::nick)
189 0 0 if ($Autoop and my $type = autoop_match($this_channel, "$this_nick!$this_userhost"))
191 0 0 ref $Autoop_delay eq 'CODE' ? :
0 0 $immediate ? :
196 0 0 if $delay > 0 or $Debug
201 0 0 if ($Autovoice and exists $Sirc::Autoop::Autovoice{$this_channel})
202 0 0 ref $Autovoice_delay eq 'CODE' ? :
0 0 $immediate ? :
207 0 0 if $delay > 0 or $Debug
216 0 0 if have_ops_q($channel)
232 0 0 unless exists $Sirc::Autoop::Autovoice{$channel}
237 0 0 if $who =~ /^[+\@]/
249 0 0 unless optional_channel()
251 0 0 unless have_ops($c)
252 0 0 unless $Autoop
308 0 0 unless $msg =~ s/^\s*autovoice\b//i
309 0 0 unless $Autovoice_control
312 0 0 unless (grep {$Sirc::Autoop::Chan_op{$_}{$main::who};} keys %Sirc::Autoop::Autovoice)
317 0 0 if (ref $Autovoice_delay)
324 0 0 if ($msg =~ /^\s*$/) { }
0 0 elsif ($msg =~ /^\s*(\d+)\s*$/) { }
0 0 elsif ($msg =~ /^\s*([+-]\s*\d+)\s*$/) { }
340 0 0 if (defined $new)
341 0 0 if ($new < 0) { }
0 0 elsif ($new < 1) { }