Condition Coverage

blib/lib/Math/PartialOrder/CMasked.pm
Criterion Covered Total %
condition 34 131 25.9


and 2 conditions

line l !l condition
390 0 0 carp('attempt to remove hierarchy root!') and 0

and 3 conditions

line !l l&&!r l&&r condition
176 66 0 0 $$ancs[$i]->equal($hv) and $cse
66 0 0 $$dscs[$i]->equal($hv) and $pse
195 0 44 46 $j <= $size and ($jmin, $jmax) = $$ancs[$i]->Interval_Scan_inc($j)
283 225 0 2386 defined $_[1] && defined $_[0]{'indices'}{$_[1]} && defined $_[0]{'types'}[$_[0]{'indices'}{$_[1]}]
459 0 0 1 defined $_[1] && defined($i = $_[0]{'indices'}{$_[1]}) && $_[0]->compiled(1)
469 0 0 1 defined($i = $_[0]{'indices'}{$_[1]}) && $_[0]->compiled(1)
479 0 0 402 $_[0]->has_types(@_[1, 2]) && _enum_bit_test($_[0]{'parents'}[$_[0]{'indices'}{$_[1]}], $_[0]{'indices'}{$_[2]}, $_[0]{'vectors'}[0])
490 0 0 2 $_[0]->has_types(@_[1, 2]) && _enum_bit_test($_[0]{'children'}[$_[0]{'indices'}{$_[1]}], $_[0]{'indices'}{$_[2]}, $_[0]{'vectors'}[0])
502 0 2 4 $_[0]->has_types(@_[1, 2]) && $_[0]->has_ancestor_index($_[0]{'indices'}{$_[1]}, $_[0]{'indices'}{$_[2]})
513 0 0 2 $_[0]->has_types(@_[1, 2]) && $_[0]->has_descendant_index($_[0]{'indices'}{$_[1]}, $_[0]{'indices'}{$_[2]})
530 0 0 0 defined $indices[$j] and $$h{'ancestors'}[$indices[$i]]->bit_test($indices[$j])
586 0 0 0 defined $_[1] and defined $_[2]
0 0 0 defined $_[1] and defined $_[2] and $_[1] == $_[2]
624 2 3 2 $i < $self->_size and ($bmin, $bmax) = $bv->Interval_Scan_inc($i)
645 1 0 1 $i >= 0 and ($bmin, $bmax) = $bv->Interval_Scan_dec($i)
735 0 1 2 defined $_[0] && defined $_[1] && defined $_[2] && $_[0]->compiled(1) && defined $_[0]{'ancestors'}[$_[1]] && $_[0]{'ancestors'}[$_[1]]->bit_test($_[2])
744 0 0 1 defined $_[0] && defined $_[1] && defined $_[2] && $_[0]->compiled(1) && defined $_[0]{'descendants'}[$_[1]] && $_[0]{'descendants'}[$_[1]]->bit_test($_[2])
753 0 0 0 defined $_[0]{'types'}[$_[1]] && $_[0]->compiled(1)
761 0 0 0 defined $_[0]{'types'}[$_[1]] && $_[0]->compiled(1)
830 0 0 13 defined $i1 and defined $i2
0 0 13 defined $i1 and defined $i2 and $self->compiled(1)
929 32 0 0 $self->has_type($root) and $$self{'root'} eq $root
988 0 0 178 defined $_[1] and defined($i = $_[0]{'indices'}{$_[1]})
1318 0 0 0 $_[0]->Size > $_[1] && $_[0]->bit_test($_[1])

or 2 conditions

line l !l condition
119 10 12 $$args{'root'} || 'BOTTOM'
172 34 32 $pse || ''
173 44 22 $cse || ''

or 3 conditions

line l !l&&r !l&&!r condition
99 0 22 0 ref $proto || $proto
176 0 0 66 $$ancs[$i]->equal($hv) and $cse or $$dscs[$i]->equal($hv) and $pse
390 2 0 0 $_ ne $self->root or carp('attempt to remove hierarchy root!') and 0
530 0 0 0 not defined $indices[$i] or defined $indices[$j] and $$h{'ancestors'}[$indices[$i]]->bit_test($indices[$j])
586 0 0 0 defined $_[1] || defined $_[2]
0 0 0 defined $_[1] and defined $_[2] and $_[1] == $_[2] or not defined $_[1] || defined $_[2]
1047 0 0 0 shift() || "$h"
1051 0 0 0 not defined $what or $what =~ /\btypes\b/
1060 0 0 0 not defined $what or $what =~ /\bindices\b/
1067 0 0 0 not defined $what or $what =~ /\broot\b/
1070 0 0 0 not defined $what or $what =~ /\bparents\b/
1077 0 0 0 not defined $what or $what =~ /\bchildren\b/
1084 0 0 0 not defined $what or $what =~ /\bremoved\b/
1087 0 0 0 not defined $what or $what =~ /\bancestors\b/
1097 0 0 0 not defined $what or $what =~ /\bdescendants\b/
1108 0 0 0 not defined $what or $what =~ /\bhattr/
1115 0 0 0 not defined $what or $what =~ /\bcompiled\b/