Condition Coverage

blib/lib/News/Archive.pm
Criterion Covered Total %
condition 0 72 0.0


and 2 conditions

line l !l condition
1057 0 0 "Couldn't open ${filename}: $!\n" && (return {})

and 3 conditions

line !l l&&!r l&&r condition
867 0 0 0 $active and ref $active
1059 0 0 0 $last > $first and $_ > $last

or 2 conditions

line l !l condition
215 0 0 $hash{'readonly'} || $News::Archive::READONLY || 0
0 0 $hash{'overfile'} || '.overview'
0 0 $hash{'db_type'} || 'DB_File'
0 0 $hash{'hostname'} || $News::Archive::HOSTNAME || 'localhost'
229 0 0 $self->history || (return undef)
230 0 0 $self->activefile || (return undef)
231 0 0 $self->groupinfo || (return undef)
458 0 0 $id || 0
472 0 0 $id || 0
486 0 0 $id || 0
501 0 0 $id || 0
676 0 0 $pattern ||= '*'
720 0 0 $pattern ||= '*'
743 0 0 $pattern ||= '*'
844 0 0 $self->_group || (return undef)
918 0 0 $$self{'hostname'} || 'localhost'
932 0 0 $$self{'hostname'} || 'localhost'

or 3 conditions

line l !l&&r !l&&!r condition
214 0 0 0 ref $proto || $proto
215 0 0 0 $hash{'archives'} || "$basedir/archives"
0 0 0 $hash{'historyfile'} || "$basedir/history"
0 0 0 $hash{'activefile'} || "$basedir/active"
0 0 0 $hash{'groupinfofile'} || "$basedir/newsgroups"
246 0 0 0 $$self{'active'} ||= 'News::Active'->new($$self{'activefile'}, 'readonly', $$self{'readonly'})
276 0 0 0 $$self{'groupinfo'} ||= 'News::GroupInfo'->new($$self{'groupinfofile'}, 'readonly', $$self{'readonly'})
305 0 0 0 $$self{'history'} ||= $self->_tie($$self{'historyfile'}, $$self{'db_type'})
361 0 0 0 $class ||= $$self{'db_type'}
363 0 0 0 $class eq 'DB_File' or $class eq 'SDBM_File'