Branch Coverage

blib/lib/News/Archive.pm
Criterion Covered Total %
branch 0 128 0.0


line true false branch
209 0 0 unless ($hash{'basedir'})
213 0 0 unless my $basedir = $hash{'basedir'}
215 0 0 defined $hash{'debug'} ? :
259 0 0 unless $$self{'active'}
289 0 0 unless $$self{'groupinfo'}
360 0 0 unless $file
363 0 0 if ($class eq 'DB_File' or $class eq 'SDBM_File') { }
365 0 0 $$self{'readonly'} ? :
366 0 0 unless tie %tie, $class, $file, $opentype, 493
374 0 0 (shift()) =~ /^[\d\.]+$/ ? :
381 0 0 if -d $dir
382 0 0 if $self->debug
411 0 0 if defined $_[1]
459 0 0 unless $article
460 0 0 $fh ? :
473 0 0 unless $article
474 0 0 $fh ? :
487 0 0 unless $article
488 0 0 $fh ? :
502 0 0 unless $article
503 0 0 unless $article->header('message-id')
518 0 0 defined $group ? :
520 0 0 wantarray ? :
0 0 unless $$self{'group'}
521 0 0 unless $$self{'group'}
522 0 0 wantarray ? :
537 0 0 if $self->history->{$msgid}
652 0 0 $group ? :
679 0 0 unless wildmat $pattern, $item->name
723 0 0 unless wildmat $pattern, $item->name
748 0 0 unless wildmat $pattern, $string
763 0 0 unless $group
776 0 0 unless $history
839 0 0 unless $id
842 0 0 if (_isnumeric($id)) { }
843 0 0 if $id eq 0
847 0 0 unless $history
854 0 0 if $self->debug
857 0 0 unless $article
867 0 0 unless $active and ref $active
913 0 0 unless (scalar @groups)
924 0 0 unless $self->subscribed($group)
926 0 0 unless $actentry
928 0 0 unless $maingroup
934 0 0 unless $files{$_}
942 0 0 unless $files{$group}
944 0 0 unless $active
950 0 0 unless (-d "$dir/$path")
952 0 0 if ($file) { }
954 0 0 if $self->debug
955 0 0 if link $file, $link
958 0 0 if $self->debug
959 0 0 unless open FILE, ">$file"
971 0 0 if $self->debug
986 0 0 if $self->subscribed($group)
1002 0 0 if $self->activefile->unsubscribe(@_)
1013 0 0 (shift())->activefile->subscribed(shift()) ? :
1031 0 0 unless -d $dir
1033 0 0 unless open OVER, ">>$filename"
1050 0 0 unless $group
1057 0 0 unless open OVER, $filename
1059 0 0 if $_ < $first
0 0 if $last > $first and $_ > $last
1064 0 0 $hdr ? :