Branch Coverage

blib/lib/HTML/TocUpdator.pm
Criterion Covered Total %
branch 31 46 67.3


line true false branch
98 0 0 if ($value1 ne $$aHash2{$key1})
135 10 0 if (defined @{$tag;}[0])
137 0 10 if ($aTag eq @{$tag;}[0])
140 0 0 if (_doesHashEqualHash($aAttributes, @{$tag;}[1]))
250 0 0 if (not $$self{'_doDeleteTokens'})
306 316 355 if ($$self{'_doDeleteTokens'})
324 60 0 if ($$self{'htu__Mode'} != 0)
348 60 0 if ($$self{'htu__Mode'} != 0)
351 1 59 if ($$self{'_outputPrefix'})
369 124 0 if ($$self{'htu__Mode'} == 3) { }
372 62 62 if ($$self{'_doDeleteTokens'}) { }
377 56 6 if (defined $$self{'_tokensUpdateEnd'}[3]{$aComment}) { }
393 56 6 if (defined $$self{'_tokensUpdateBegin'}[3]{$aComment}) { }
423 172 5 if ($$self{'htu__Mode'} == 3)
426 89 83 if ($$self{'_doDeleteTokens'})
429 0 89 if (defined $$self{'_tokensUpdateEnd'}[1]{$aTag})
480 47 0 if ($$self{'htu__Mode'} != 0)
502 176 5 if ($$self{'htu__Mode'} == 3)
505 0 176 if (_doesTagExistInArray($aTag, $aAttr, $$self{'_tokensUpdateBegin'}[0]))
549 61 24 if (not $$self{'_doDeleteTokens'})
566 128 184 if (not $$self{'_doDeleteTokens'})
583 61 24 if (not $$self{'_doDeleteTokens'})
703 4 0 if (not HTML::TocUpdator::_doesTagExistInArray($aTag, $aAttr, $$self{'tokens'}[0]))