Condition Coverage

blib/lib/HTML/TocInsertor.pm
Criterion Covered Total %
condition 20 24 83.3


and 3 conditions

line !l l&&!r l&&r condition
275 13 24 27 $tipPreposition ne 'replace' and $tipPreposition ne 'before'
37 24 3 $tipPreposition ne 'replace' and $tipPreposition ne 'before' and $tipPreposition ne 'after'
333 0 0 59 HTML::TocGenerator::_doesHashContainHash($aTokenAttributes, $$tipToken[2], 0) and HTML::TocGenerator::_doesHashContainHash($aTokenAttributes, $$tipToken[3], 1)
45 59 0 $aTokenId =~ /$tipTokenId/ and (HTML::TocGenerator::_doesHashContainHash($aTokenAttributes, $$tipToken[2], 0) and HTML::TocGenerator::_doesHashContainHash($aTokenAttributes, $$tipToken[3], 1))
402 48 7 4 $aTokenType == 2 and length $`
456 48 5 6 $aTokenType == 2 and length $'
1120 12 0 6 defined $$self{'_lastAddedToken'} and $$self{'_lastAddedTokenType'} == 2

or 3 conditions

line l !l&&r !l&&!r condition
320 1018 225 198 $$self{'_doReleaseElement'} or $aTokenType != 2