Branch Coverage

blib/lib/POE/Component/IRC/Plugin/CPAN/Info.pm
Criterion Covered Total %
branch 0 140 0.0


line true false branch
50 0 0 unless (exists $args{'ua_args'}{'timeout'})
54 0 0 if (exists $args{'channels'} and ref $args{'channels'} ne 'ARRAY')
61 0 0 if (exists $args{'triggers'}) { }
66 0 0 unless $args{'triggers'}{$trigger_category}
72 0 0 unless (exists $args{'triggers'}{$cat_trigger})
84 0 0 if (exists $args{'help'}) { }
88 0 0 unless $args{'help'}{$category}
94 0 0 unless (exists $args{'help'}{$cat_trigger})
104 0 0 unless (exists $args{'help'}{'help_re'})
146 0 0 if $$self{'debug'}
197 0 0 if ($$input{'freshen_error'}) { }
198 0 0 if ($$self{'debug'})
199 0 0 if ($$input{'freshen_error'} eq 'fetch') { }
210 0 0 $$self{'freshen_interval'} < 30 ? :
216 0 0 if $$self{'debug'}
226 0 0 if $$self{'debug'}
233 0 0 if $$self{'send_events'}
264 0 0 unless exists $$self{'listen_for_input'}{$type} or $$self{'send_events'}
268 0 0 unless $$self{'banned'}
269 0 0 if $who =~ /$ban_re/
275 0 0 if ($type eq 'public') { }
282 0 0 unless defined $what
285 0 0 if $$self{'debug'}
294 0 0 if ($@)
295 0 0 if $$self{'help'} and exists $$self{'listen_for_help'}{$type}
299 0 0 if $$self{'debug'} and not defined $response
302 0 0 unless defined $response
308 0 0 unless (defined $response)
309 0 0 if ($$self{'respond_no_result'})
312 0 0 if ($type eq 'public') { }
323 0 0 if $$self{'send_events'}
336 0 0 if $$self{'debug'}
341 0 0 $type eq 'public' ? :
343 0 0 if (length $response > $max_length)
356 0 0 if (exists $$self{'listen_for_input'}{$type})
357 0 0 if ($type eq 'public') { }
368 0 0 if ($$self{'send_events'})
383 0 0 $$self{'eat'} ? :
391 0 0 unless defined $what and $what =~ s/$$trigs{'help_re'}//
393 0 0 unless length $what
400 0 0 if ($what =~ s/^$$trigs{'mod_cat'}//i) { }
0 0 elsif ($what =~ s/^$$trigs{'auth_cat'}//i) { }
0 0 elsif ($what =~ s/^$$trigs{'dist_cat'}//i) { }
417 0 0 if ($what =~ s/$$self{'triggers'}{'mod_cat'}//) { }
0 0 elsif ($what =~ s/$$self{'triggers'}{'auth_cat'}//) { }
0 0 elsif ($what =~ s/$$self{'triggers'}{'dist_cat'}//) { }
420 0 0 if ($what =~ s/$$triggers{'distname'}//) { }
0 0 elsif ($what =~ s/$$triggers{'version'}//) { }
0 0 elsif ($what =~ s/$$triggers{'desc'}//) { }
0 0 elsif ($what =~ s/$$triggers{'chapter'}//) { }
0 0 elsif ($what =~ s/$$triggers{'dslip'}//) { }
442 0 0 if ($what =~ s/$$triggers{'email'}//) { }
0 0 elsif ($what =~ s/$$triggers{'name'}//) { }
455 0 0 if ($what =~ s/$$triggers{'version'}//) { }
0 0 elsif ($what =~ s/$$triggers{'file'}//) { }
0 0 elsif ($what =~ s/$$triggers{'auth'}//) { }
0 0 elsif ($what =~ s/$$triggers{'desc'}//) { }
0 0 elsif ($what =~ s/$$triggers{'mods'}//) { }
0 0 elsif ($what =~ s/$$triggers{'chapter'}//) { }
500 0 0 unless defined $section
504 0 0 unless length $item
506 0 0 unless (exists $$self{'_data'}{$category}{$item})
507 0 0 if $$self{'debug'}
516 0 0 if (exists $$data{$section}) { }
517 0 0 if ($category eq 'dists')
518 0 0 if ($section eq 'modules') { }
0 0 elsif ($section eq 'chapterid') { }
535 0 0 unless ref $modules_ref eq 'HASH'
539 0 0 if (@modules > $$self{'max_modules_limit'}) { }
544 0 0 if (length $mods > $$self{'max_modules_length'})