Branch Coverage

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


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