Branch Coverage

blib/lib/POE/Component/SmokeBox/Uploads/NNTP.pm
Criterion Covered Total %
branch 11 22 50.0


line true false branch
16 0 1 unless $opts{'event'}
17 0 1 unless $opts{'nntp'}
18 1 0 unless $opts{'group'}
21 1 0 ref $options eq 'HASH' ? :
54 1 0 unless $$self{'alias'}
63 0 1 if ($kernel == $sender and not $$self{'session'})
67 0 1 if ($$self{'session'}) { }
68 0 0 if (my $ref = $kernel->alias_resolve($$self{'session'})) { }
126 1 1 if (defined $$self{'articles'}{$group}) { }
128 1 0 if ($estimate >= $$self{'articles'}{$group})
146 1 0 if (my($upload) = $subject =~ m[^CPAN Upload:\s+(\w+/\w+/\w+/.+(\.tar\.(gz|bz2)|\.tgz|\.zip))$]i)