Branch Coverage

blib/lib/Math/PartialOrder/CEnum.pm
Criterion Covered Total %
branch 16 76 21.0


line true false branch
69 0 5 unless $rv
71 33 0 defined $_ ? :
75 33 0 defined $_ ? :
125 1 0 defined $_[1] && defined($i = $_[0]{'indices'}{$_[1]}) && $_[0]->compiled(1) ? :
136 1 0 defined $_[1] && defined($i = $_[0]{'indices'}{$_[1]}) && $_[0]->compiled(1) ? :
164 0 0 unless @_
166 0 0 defined $_ ? :
172 0 0 if (not defined $indices[$i] or defined $indices[$j] and defined($e = $$h{'ancestors'}[$indices[$i]]) and $e ne '' and _enum_bit_test $e, $indices[$j], $v)
193 0 0 if defined $_
202 0 0 if $step > scalar @_
208 0 0 if (defined($e = $$h{'ancestors'}[$indices[$j]]) and $e ne '' and _enum_bit_test $e, $indices[$i], $v) { }
0 0 elsif (defined($e = $$h{'ancestors'}[$indices[$i]]) and $e ne '' and _enum_bit_test $e, $indices[$j], $v) { }
212 0 0 if $strata[$indices[$i]] < $strata[$indices[$j]]
220 0 0 if $strata[$indices[$i]] > $strata[$indices[$j]]
242 14 0 defined $$self{'descendants'}[$_] ? :
258 2 0 defined $$self{'ancestors'}[$_] ? :
316 0 0 if (defined $_[0] and defined $_[1] and $_[0]->compiled(1))
326 0 0 if (defined $_[0] and defined $_[1] and $_[0]->compiled(1))
358 0 13 unless defined $i1 and defined $i2 and $self->compiled(1)
365 13 0 defined $$enums[$i1] ? :
366 13 0 defined $$enums[$i2] ? :
367 13 0 if (shift())
372 12 1 if ($_[0] < 0) { }
1 0 elsif ($_[0] > 0) { }
415 0 0 if (not defined $what or $what =~ /\btypes\b/)
418 0 0 defined $$h{'types'}[$i] ? :
424 0 0 if (not defined $what or $what =~ /\bindices\b/)
431 0 0 if (not defined $what or $what =~ /\broot\b/)
434 0 0 if (not defined $what or $what =~ /\bparents\b/)
441 0 0 if (not defined $what or $what =~ /\bchildren\b/)
448 0 0 if (not defined $what or $what =~ /\bremoved\b/)
451 0 0 if (not defined $what or $what =~ /\bancestors\b/)
458 0 0 if (not defined $what or $what =~ /\bdescendants\b/)
465 0 0 if (not defined $what or $what =~ /\bcompiled\b/)
466 0 0 $h->compiled ? :
468 0 0 if (not defined $what or $what =~ /\bhattr/)
493 1 0 if ($$h{'compiled'})
514 1 0 if ($$h{'compiled'})