line |
true |
false |
branch |
145
|
93 |
193 |
if (defined $value1 and $value1 =~ /$value2/) { } |
148
|
44 |
49 |
if ($aContainmentType == 1) |
161
|
170 |
23 |
if ($aContainmentType == 0) |
203
|
4 |
30 |
ref($aFile) =~ /ARRAY/ ? : |
236
|
282 |
31 |
if ($numberingStyle eq 'decimal') |
240
|
7 |
24 |
if ($numberingStyle eq 'lower-alpha') |
244
|
24 |
0 |
if ($numberingStyle eq 'upper-alpha') |
248
|
0 |
0 |
if ($numberingStyle eq 'lower-roman') |
253
|
0 |
0 |
if ($numberingStyle eq 'upper-roman') |
283
|
75 |
238 |
$result ? : |
343
|
184 |
365 |
if ($$self{'options'}{'doUseGroupsGlobal'}) { } |
370
|
6 |
94 |
if (ref($aTocs) =~ /ARRAY/) { } |
417
|
35 |
53 |
unless (defined $$self{'options'}{'doUseGroupsGlobal'}) |
423
|
4 |
84 |
if ($$self{'options'}{'doUseGroupsGlobal'}) |
460
|
206 |
0 |
defined $$self{'_holdText'} ? : |
461
|
206 |
0 |
defined $$self{'_holdChildren'} ? : |
466
|
31 |
175 |
ref $$aToc{'_templateAnchorName'} eq 'CODE' ? : |
475
|
0 |
206 |
if ($aDoLinkToId) { } |
481
|
0 |
0 |
if (defined $$aTokenAttributes{'id'}) |
484
|
0 |
0 |
if ($$aToc{'options'}{'doUseExistingIds'}) |
495
|
0 |
206 |
if (defined $$self{'_activeAnchorName'}) |
498
|
0 |
0 |
if ($$aToc{'options'}{'doUseExistingAnchors'}) { } |
514
|
1 |
205 |
ref $$aToc{'_templateAnchorHrefBegin'} eq 'CODE' ? : |
522
|
206 |
0 |
if ($doInsertAnchor) |
529
|
1 |
205 |
ref $$aToc{'_templateAnchorNameBegin'} eq 'CODE' ? : |
539
|
0 |
206 |
if ($doInsertId) |
556
|
173 |
33 |
if ($$self{'_doOutputAnchorNameEnd'}) |
562
|
0 |
173 |
ref $$aToc{'_templateAnchorNameEnd'} eq 'CODE' ? : |
641
|
206 |
30 |
if ($$toc{'options'}{'doLinkToToken'}) |
646
|
0 |
206 |
ref $$toc{'_templateAnchorHrefEnd'} eq 'CODE' ? : |
676
|
0 |
236 |
defined $$aTocToken[7]{'doLinkToId'} ? : |
680
|
0 |
236 |
if ($doLinkToId and $aTokenType != 0) |
686
|
0 |
236 |
if (ref $level eq 'CODE') |
689
|
0 |
236 |
if (ref $groupId eq 'CODE') |
697
|
107 |
129 |
unless (exists $$groupIdManager{'groupIdLevels'}{$groupId}) |
719
|
142 |
94 |
if ($$toc{'_toc'}) |
728
|
0 |
236 |
if (defined $$aTokenAttributes{'id'}) |
734
|
88 |
148 |
if ($$aTocToken[7]{'doNumberToken'} or not defined $$aTocToken[7]{'doNumberToken'} and $$toc{'options'}{'doNumberToken'}) |
746
|
51 |
37 |
ref $$toc{'_templateTokenNumber'} eq 'CODE' ? : |
756
|
206 |
30 |
if ($$toc{'options'}{'doLinkToToken'}) |
766
|
5 |
231 |
if (defined $$aTocToken[9]) |
771
|
5 |
0 |
if (defined $$aTokenAttributes{$attribute}) { } |
801
|
238 |
0 |
if (defined $$self{'_holdTocText'}) { } |
820
|
2 |
502 |
if (defined $$self{'_holdChildren'}) |
837
|
233 |
0 |
if (defined $$self{'_holdText'}) |
867
|
231 |
27 |
if ($aTokenId eq $tokenId) { } |
909
|
3061 |
42 |
if (not defined $fileSpec or defined $fileSpec and $$self{'_currentFile'} =~ /$fileSpec/) |
917
|
254 |
214 |
if (defined $tagBegin and $aTokenId =~ /$tagBegin/ and _doesHashContainHash($aTokenAttributes, $$tocToken[3], 0) and _doesHashContainHash($aTokenAttributes, $$tocToken[4], 1)) |
934
|
236 |
18 |
if ($level =~ /$levelToToc/ and $groupId =~ /$groupToToc/) |
952
|
5 |
231 |
if (defined $$tocToken[9]) { } |
1131
|
17 |
0 |
if ($$self{'_doGenerateToc'}) |
1135
|
17 |
0 |
unless ($$self{'_isTocToken'} = $self->_processTokenAsTocStartingToken(3, $aComment, undef, \$aComment)) |
1159
|
4 |
0 |
if ($$self{'_doGenerateToc'}) |
1163
|
4 |
0 |
unless ($$self{'_isTocToken'} = $self->_processTokenAsTocStartingToken(4, $aDeclaration, undef, \$aDeclaration)) |
1188
|
435 |
5 |
if ($$self{'_doGenerateToc'}) |
1199
|
0 |
435 |
if (defined $$self{'_activeAnchorName'} and $aTag eq 'a') |
1204
|
435 |
0 |
if (not $$self{'_isTocToken'}) |
1337
|
58 |
87 |
if (defined $aOptions) |
1359
|
468 |
5 |
if ($$self{'_doGenerateToc'}) |
1363
|
232 |
236 |
unless ($$self{'_isTocToken'} = $self->_processTokenAsTocStartingToken(0, $aTag, $aAttr, \$aTokenOrig)) |
1389
|
838 |
5 |
if ($$self{'_doGenerateToc'}) |
1471
|
3 |
35 |
if ($value =~ /$attributeToTocToken/) { } |
1479
|
11 |
24 |
if ($value =~ /^$attributeToExcludeToken(.*)/) { } |
1546
|
24 |
454 |
if (keys %includeAttributes > 0) |
1554
|
11 |
467 |
if (keys %excludeAttributes > 0) |
1562
|
3 |
475 |
if (@tocAttributes > 0) |
1697
|
0 |
0 |
if (defined $$self{'_lastAddedToken'} and $$self{'_lastAddedTokenType'} == 2) { } |
1764
|
0 |
0 |
if (keys %includeAttributes > 0) |
1772
|
0 |
0 |
if (keys %excludeAttributes > 0) |
1848
|
478 |
0 |
if (defined $aToken) |
1854
|
475 |
3 |
if (not defined $aString) { } |
1857
|
475 |
0 |
if (defined $aTokenTypeBegin and $aTokenTypeBegin == 0) |
1904
|
0 |
0 |
if (defined $$self{'_lastAddedTokenType'}) { } |