Condition Coverage

blib/lib/FAQ/OMatic/Auth.pm
Criterion Covered Total %
condition 0 79 0.0


and 3 conditions

line !l l&&!r l&&r condition
111 0 0 0 $whocanNum <= 5 and $whocanNum <= $aq
117 0 0 0 $whocanNum == 6 and FAQ::OMatic::Groups::checkMembership($whocan, $id)
124 0 0 0 $whocanNum == 7 and $aq == 5
0 0 0 $whocanNum == 7 and $aq == 5 and $id eq getInheritedProperty($item, 'Moderator') || $id eq $FAQ::OMatic::Config::adminAuth || 'anybody' eq getInheritedProperty($item, 'Moderator')
154 0 0 0 defined $item and defined $$item{$property}
304 0 0 0 $by eq 'id' and $cid eq $match
308 0 0 0 $by eq 'cookie' and $cookie eq $match
382 0 0 0 $id eq 'version' and not $dontHideVersion
404 0 0 0 defined $idf and $idf eq $id
454 0 0 0 ($$params{'_none_id'} || '') eq '' and ($$params{'_pass_id'} || '') ne ''
477 0 0 0 $$params{'auth'} eq 'none' and defined $$params{'_none_id'}
504 0 0 0 defined $file and $file ne ''

or 2 conditions

line l !l condition
108 0 0 $1 || 7
140 0 0 shift() || 0
211 0 0 $$result[1] || 0
240 0 0 $item ||= ''
244 0 0 $FAQ::OMatic::Config::cookieLife || 3600
251 0 0 $xreason || ''
255 0 0 $failexit or ''
299 0 0 FAQ::OMatic::getLocal('cookieActual') || $FAQ::OMatic::Config::cookieLife || 3600
377 0 0 shift() || ''
378 0 0 shift() || ''
454 0 0 $$params{'auth'} || ''
0 0 $$params{'_none_id'} || ''
0 0 $$params{'_pass_id'} || ''
485 0 0 $$params{'id'} || 'anonymous'

or 3 conditions

line l !l&&r !l&&!r condition
124 0 0 0 $id eq getInheritedProperty($item, 'Moderator') || $id eq $FAQ::OMatic::Config::adminAuth || 'anybody' eq getInheritedProperty($item, 'Moderator')
160 0 0 0 not defined $item or $item eq ''
0 0 0 not defined $item or $item eq '' or $item->getParent eq $item
0 0 0 not defined $item or $item eq '' or $item->getParent eq $item or $depth > 80
454 0 0 0 ($$params{'auth'} || '') eq 'pass' or ($$params{'_none_id'} || '') eq '' and ($$params{'_pass_id'} || '') ne ''