Condition Coverage

blib/lib/FAQ/OMatic/Item.pm
Criterion Covered Total %
condition 0 143 0.0


and 3 conditions

line !l l&&!r l&&r condition
69 0 0 0 $arg and defined $$itemCache{$arg}
171 0 0 0 $dir eq ($FAQ::OMatic::Config::itemDir || 'x') and FAQ::OMatic::Versions::getVersion('Items')
395 0 0 0 $dir eq $FAQ::OMatic::Config::itemDir and not $noRecomputeDependencies
682 0 0 0 defined $FAQ::OMatic::Config::cacheDir and -w $FAQ::OMatic::Config::cacheDir
786 0 0 0 defined $nextitem and defined $nextfile
0 0 0 defined $nextitem and defined $nextfile and $nextfile ne $thisfile
823 0 0 0 defined $nextitem and defined $nextfile
0 0 0 defined $nextitem and defined $nextfile and $nextfile ne $thisfile
824 0 0 0 defined $nextfile and $nextfile eq $parentFile
936 0 0 0 $render ne 'text' and not $FAQ::OMatic::Config::nolanTitles || ''
1082 0 0 0 $self->isCategory and scalar $self->getChildren == 0
1184 0 0 0 not $FAQ::OMatic::Config::hideEasyEdits and $render ne 'text'
1223 0 0 0 $attributionsTogether and $showAttributions eq 'default'
1237 0 0 0 $lastModified and $showLastModified
1289 0 0 0 FAQ::OMatic::getParam($params, 'render') ne 'text' and not $FAQ::OMatic::Config::hideSiblings || ''
1630 0 0 0 $$ph{'global'} and $$self{'filename'} ne '1'
1715 0 0 0 defined $value and $value ne ''
1975 0 0 0 $i < scalar @parts and $count < 4
2015 0 0 0 $id eq $moderator and $didWhat =~ /moderator options/
2075 0 0 0 $id eq $moderator and $didWhat =~ /moderator options/

or 2 conditions

line l !l condition
101 0 0 shift() || ''
136 0 0 $FAQ::OMatic::Config::itemDir || ''
151 0 0 shift() || ''
167 0 0 $FAQ::OMatic::Config::itemDir || ''
171 0 0 $FAQ::OMatic::Config::itemDir || 'x'
239 0 0 shift() || 'an item read from a filehandle'
311 0 0 $FAQ::OMatic::Config::dateFormat || ''
361 0 0 shift() || ''
362 0 0 shift() || ''
363 0 0 shift() || ''
367 0 0 shift() || ''
369 0 0 shift() || ''
709 0 0 shift() || ''
763 0 0 $$self{'EmptyStub'} || ''
795 0 0 $nextfile || ''
936 0 0 $FAQ::OMatic::Config::nolanTitles || ''
946 0 0 $FAQ::OMatic::Config::nolanTitles or ''
1221 0 0 $$self{'AttributionsTogether'} || ''
1289 0 0 $FAQ::OMatic::Config::hideSiblings || ''
1349 0 0 $$self{$perm} || ''
1394 0 0 $$params{'_insert'} || ''
1568 0 0 $$self{'Moderator'} || ''
1605 0 0 $$self{'Notifier'} || ''
1769 0 0 shift() || ''
1794 0 0 shift() || ''
1923 0 0 $FAQ::OMatic::Config::disableSearchHighlight or ''
2005 0 0 FAQ::OMatic::Auth::getInheritedProperty($self, 'MailModerator') || ''
2065 0 0 FAQ::OMatic::Auth::getInheritedProperty($self, 'MailNotifier') || ''

or 3 conditions

line l !l&&r !l&&!r condition
140 0 0 0 not $rc or -s "$dir/$filename" != 0
442 0 0 0 $key =~ /^[a-z]/ or $key eq 'Parts'
674 0 0 0 $$self{$setName} || 'FAQ::OMatic::Set'->new
1248 0 0 0 $$params{'recurse'} or $$params{'_recurse'}
1274 0 0 0 $$params{'recurse'} or $$params{'_recurse'}
1896 0 0 0 $mb = $string =~ s/^([\200-\377].)+// or $string =~ s/[\0-\177]+//
1978 0 0 0 $i > 1 || length $ls > 40
1979 0 0 0 $i < scalar(@parts) - 2 || length $rs > 40
2262 0 0 0 $mb = $string =~ s/^([\200-\377].)+// or $string =~ s/[\0-\177]+//