Branch Coverage

blib/lib/LinkedList/Single.pm
Criterion Covered Total %
branch 20 68 29.4


line true false branch
38 0 6 $_[2] ? :
50 0 15 unless $node
61 0 6 $_[2] ? :
132 23 4 if (@_) { }
226 0 1 @_ ? :
263 0 0 wantarray ? :
306 106 0 wantarray ? :
319 0 0 wantarray ? :
332 0 0 if (defined wantarray) { }
336 0 0 if @_
340 0 0 wantarray ? :
375 0 0 wantarray ? :
398 0 0 unless my $root = CORE::shift()
401 0 0 unless 'ARRAY' eq reftype $root
470 0 100 @_ ? :
472 0 100 unless looks_like_number $count
477 0 100 unless @$node
500 0 12 unless $node
507 12 0 wantarray ? :
550 0 0 unless @{$$node[0];}
553 0 0 if (defined wantarray) { }
559 0 0 wantarray ? :
579 0 1 unless looks_like_number $count
582 0 1 if $count < 0
587 0 1 unless $count > 0 or @_
589 0 1 unless my $node = $$listh
594 1 0 if ($count > 0)
600 0 3 unless @$tail
631 0 1 unless $dead
638 1 0 if (defined wantarray) { }
704 0 0 if $$listh == $$root[0]
707 0 0 if (defined wantarray) { }
717 0 0 wantarray ? :
724 0 0 if $$root[0][0]