Branch Coverage

blib/lib/MarpaX/Hoonlint.pm
Criterion Covered Total %
branch 12 146 8.2


line true false branch
66 0 0 unless $pieces[$#pieces] =~ /\n$/
89 0 0 if ($childCount <= 0)
105 0 0 unless $refType eq 'ARRAY'
109 0 0 if ($lexemeName eq 'TRIPLE_DOUBLE_QUOTE_STRING')
117 0 0 if ($lexemeName eq 'TRIPLE_QUOTE_STRING')
134 0 0 if (scalar @rhs != $childCount)
145 0 0 if (defined $lastSeparator)
153 0 0 if $childIX > $#argChildren
155 0 0 unless $separator
186 0 0 if ($children and scalar @{$children;} >= 1)
211 0 0 if $firstLine != $lastLine
214 0 0 if $firstColumn != $lastColumn
248 0 0 unless defined $$lineToPos[$lineNum + 1]
258 0 0 if $start >= length ${$pSource;}
290 0 0 if ($contextSize <= 0)
307 0 0 if $start < 1
308 0 0 if $end >= $#$lineToPos
317 0 0 if ($details and scalar @{$details;} and $displayDetails > 0) { }
343 0 0 if $firstIX > 0
347 0 0 if $nextIX > $#sortedLines
357 0 0 if $sortedLines[$lastIX] + 2 * $contextSize < $sortedLines[$nextIX]
388 0 0 if ($refType eq 'ARRAY')
408 0 0 if $inclusions and not $inclusions->{$reportLC}{$reportPolicy}{$reportSubpolicy}
411 0 0 if (defined $suppression)
417 0 0 if $excludeThisItem
418 0 0 if $suppressThisItem
425 0 0 ref $topicLineArg ? :
435 0 0 unless defined $thisMistakeDescs
449 0 0 if $type ne 'node'
461 0 0 if defined $name
463 0 0 unless $type
464 0 0 unless $type
465 0 0 if $type eq 'node'
475 0 0 if $type ne 'node'
477 0 0 unless $instance->{'mortarLHS'}{$lhsName}
486 0 0 if $brickNode
496 0 0 if $brickNode
505 0 0 if $type ne 'node'
534 0 0 if $char eq "\n"
535 0 0 if $char ne ' '
537 0 0 if $spacesNeeded <= 0
559 1 800 if $name eq 'GAP'
560 72 729 if ($name =~ /^[B-Z][AEOIU][B-Z][B-Z][AEIOU][B-Z]GAP$/)
575 34 1068 if ($separatorName)
578 11 23 if ($separatorID == $gapID)
582 1091 11 unless (defined $data->{'gapiness'})
584 316 2348 if $symbolDB->[$rhsID]{'gap'}
599 0 0 unless defined $symbol
607 0 0 unless defined $symbol
614 0 0 if ($instance->runeGapNode($node))
624 0 0 unless defined $instance->{'recce'}
635 0 0 if defined $thisName and $thisName eq $name
646 0 0 if defined $thisName and $names->{$thisName}
656 0 0 if $generations <= 0
672 0 0 if $instance->brickName($thisNode)
687 0 0 if $instance->brickName($thisNode)
689 0 0 unless $children
709 0 0 if $thisLine != $currentLine
710 0 0 if $instance->brickName($thisNode)
731 0 0 if $thisLine != $currentLine
736 0 0 unless defined $brickName
737 0 0 if $inclusions->{$brickName}
761 0 0 if $thisLine != $currentLine
766 0 0 unless defined $brickName
769 0 0 if $exclusions->{$brickName}
796 0 0 if $thisLine != $currentLine
801 0 0 unless defined $brickName
805 0 0 if $inclusions->{$brickName}
829 0 0 if $thisLine != $currentLine
834 0 0 unless defined $brickName
837 0 0 if $exclusions->{$brickName}
1036 0 0 if $newPos < 0
1045 0 0 unless $astRef