Condition Coverage

blib/lib/HTML/TocGenerator.pm
Criterion Covered Total %
condition 27 41 65.8


and 3 conditions

line !l l&&!r l&&r condition
145 109 84 93 defined $value1 and $value1 =~ /$value2/
680 236 0 0 $doLinkToId and $aTokenType != 0
734 15 133 77 not defined $$aTocToken[7]{'doNumberToken'} and $$toc{'options'}{'doNumberToken'}
909 0 42 21 defined $fileSpec and $$self{'_currentFile'} =~ /$fileSpec/
917 0 2593 468 defined $tagBegin and $aTokenId =~ /$tagBegin/
2593 170 298 defined $tagBegin and $aTokenId =~ /$tagBegin/ and _doesHashContainHash($aTokenAttributes, $$tocToken[3], 0)
2763 44 254 defined $tagBegin and $aTokenId =~ /$tagBegin/ and _doesHashContainHash($aTokenAttributes, $$tocToken[3], 0) and _doesHashContainHash($aTokenAttributes, $$tocToken[4], 1)
934 18 0 236 $level =~ /$levelToToc/ and $groupId =~ /$groupToToc/
1199 435 0 0 defined $$self{'_activeAnchorName'} and $aTag eq 'a'
1697 0 0 0 defined $$self{'_lastAddedToken'} and $$self{'_lastAddedTokenType'} == 2
1857 0 0 475 defined $aTokenTypeBegin and $aTokenTypeBegin == 0

or 2 conditions

line l !l condition
229 306 7 $self->_getGroupIdManager($aToc)->{'levels'}{$aClass}[$aLevel - 1] || 0

or 3 conditions

line l !l&&r !l&&!r condition
734 11 0 225 $$aTocToken[7]{'doNumberToken'} or not defined $$aTocToken[7]{'doNumberToken'} and $$toc{'options'}{'doNumberToken'}
909 3040 0 63 not defined $fileSpec or defined $fileSpec and $$self{'_currentFile'} =~ /$fileSpec/